congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PersistentEntityInformation.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.springframework.data.repository.core.support.PersistentEntityInformation
constructor

Best Java code snippets using org.springframework.data.repository.core.support.PersistentEntityInformation.<init> (Showing top 6 results out of 315)

origin: spring-projects/spring-data-jdbc

@SuppressWarnings("unchecked")
@Override
public <T, ID> EntityInformation<T, ID> getEntityInformation(Class<T> aClass) {
  RelationalPersistentEntity<?> entity = context.getRequiredPersistentEntity(aClass);
  return (EntityInformation<T, ID>) new PersistentEntityInformation<>(entity);
}
origin: org.springframework.data/spring-data-keyvalue

@Override
@SuppressWarnings("unchecked")
public <T, ID> EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) {
  PersistentEntity<T, ?> entity = (PersistentEntity<T, ?>) context.getRequiredPersistentEntity(domainClass);
  return new PersistentEntityInformation<>(entity);
}
origin: org.springframework.data/spring-data-jdbc

@SuppressWarnings("unchecked")
@Override
public <T, ID> EntityInformation<T, ID> getEntityInformation(Class<T> aClass) {
  RelationalPersistentEntity<?> entity = context.getRequiredPersistentEntity(aClass);
  return (EntityInformation<T, ID>) new PersistentEntityInformation<>(entity);
}
origin: spring-projects/spring-data-keyvalue

@Override
@SuppressWarnings("unchecked")
public <T, ID> EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) {
  PersistentEntity<T, ?> entity = (PersistentEntity<T, ?>) context.getRequiredPersistentEntity(domainClass);
  return new PersistentEntityInformation<>(entity);
}
origin: apache/servicemix-bundles

@Override
@SuppressWarnings("unchecked")
public <T, ID> EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) {
  PersistentEntity<T, ?> entity = (PersistentEntity<T, ?>) context.getRequiredPersistentEntity(domainClass);
  return new PersistentEntityInformation<>(entity);
}
origin: spring-projects/spring-data-aerospike

  @SuppressWarnings("unchecked")
  @Override
  public <T, ID extends Serializable> EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) {
    AerospikePersistentEntity<?> entity = context.getPersistentEntity(domainClass);
    if (entity == null) {
      throw new MappingException(
          String.format("Could not lookup mapping metadata for domain class %s!", domainClass.getName()));
    }

//        PersistentEntity<T, ?> entity = (PersistentEntity<T, ?>) context.getPersistentEntity(domainClass);

    //PersistentEntityInformation<T, ID> entityInformation = new PersistentEntityInformation<T, ID>((AerospikePersistentEntity<T>) entity);
    return new PersistentEntityInformation<T, ID>((AerospikePersistentEntity<T>) entity);
  }

org.springframework.data.repository.core.supportPersistentEntityInformation<init>

Popular methods of PersistentEntityInformation

  • getIdType

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now