Class NosqlEntityInformation<T,ID> 
java.lang.Object
org.springframework.data.repository.core.support.AbstractEntityInformation<T,ID>
 
com.oracle.nosql.spring.data.repository.support.NosqlEntityInformation<T,ID> 
- All Implemented Interfaces:
 org.springframework.data.repository.core.EntityInformation<T,,ID> org.springframework.data.repository.core.EntityMetadata<T>
public class NosqlEntityInformation<T,ID> 
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,ID> 
- 
Constructor Summary
ConstructorsConstructorDescriptionNosqlEntityInformation(org.springframework.context.ApplicationContext applicationContext, Class<T> domainClass)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic FieldValue.TypefindIdNosqlType(Class<?> idClass) getTableLimits(NosqlDbFactory nosqlDbFactory) intgetTtl()Get default table level TTL of the entity.static booleanisAllowedKeyType(Class<?> type) booleanbooleanstatic booleanisCompositeKeyType(Class<?> type) voidsetConsistency(String consistency) voidsetDurability(String durability) voidsetTimeout(int milliseconds) Methods inherited from class org.springframework.data.repository.core.support.AbstractEntityInformation
getJavaType, isNewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.repository.core.EntityInformation
getRequiredId 
- 
Constructor Details
- 
NosqlEntityInformation
 
 - 
 - 
Method Details
- 
getId
 - 
getIdField
 - 
getIdColumnName
 - 
getIdType
 - 
getIdNosqlType
 - 
findIdNosqlType
 - 
getTableName
 - 
isAutoCreateTable
public boolean isAutoCreateTable() - 
isAutoGeneratedId
public boolean isAutoGeneratedId() - 
isAllowedKeyType
 - 
isCompositeKeyType
 - 
getTableLimits
 - 
getConsistency
 - 
setConsistency
 - 
getDurability
 - 
setDurability
 - 
getTimeout
public int getTimeout() - 
setTimeout
public void setTimeout(int milliseconds)  - 
getTtl
Get default table level TTL of the entity. This is applicable only when the table is created through Spring SDK as part ofNosqlTable.autoCreateTable(). This will not reflect the TTL of an already created table.- Returns:
 - Default table level TTL
 - Since:
 - 1.5.0
 
 - 
getShardKeys
 - 
getNonShardKeys
 
 -