public interface SpaceTypeDescriptor
SpaceTypeDescriptorBuilder
,
SpacePropertyDescriptor
,
SpaceIndex
Modifier and Type | Method and Description |
---|---|
Class<? extends SpaceDocument> |
getDocumentWrapperClass()
Gets the document wrapper class.
|
Set<String> |
getFifoGroupingIndexesPaths()
Gets the fifo grouping indexes
|
String |
getFifoGroupingPropertyPath()
Gets the fifo grouping property
|
FifoSupport |
getFifoSupport()
Gets the type's FIFO support.
|
SpacePropertyDescriptor |
getFixedProperty(int position)
Gets a fixed property by its position.
|
SpacePropertyDescriptor |
getFixedProperty(String name)
Gets a fixed property by its name.
|
int |
getFixedPropertyPosition(String propertyName)
Gets the position of a fixed property by the specified property name.
|
default int |
getFixedPropertyPositionIgnoreCase(String name) |
List<String> |
getIdPropertiesNames()
Gets the ID properties names.
|
default String |
getIdPropertyName()
Deprecated.
since 16.2 - use
getIdPropertiesNames() instead. |
Map<String,SpaceIndex> |
getIndexes()
Gets the indexes of the type, mapped by their names.
|
int |
getNumOfFixedProperties()
Gets the number of fixed properties of the type.
|
Class<? extends Object> |
getObjectClass()
Gets the java class which correlates to the type, if available.
|
boolean[] |
getPropertiesIndexTypes() |
String[] |
getPropertiesNames() |
String[] |
getPropertiesNames(boolean isPrimaryKeyFirst) |
String[] |
getPropertiesTypes() |
TypeQueryExtensions |
getQueryExtensions() |
String |
getRoutingPropertyName()
Gets the routing property name.
|
int |
getSequenceNumberFixedPropertyID() |
StorageType |
getStorageType()
Get the type storage type
|
String |
getSuperTypeName()
Gets the super type name
|
TieredStorageTableConfig |
getTieredStorageTableConfig() |
String |
getTypeName()
Gets the type name.
|
String |
getTypeSimpleName()
Gets the type simple name.
|
boolean |
hasSequenceNumber() |
boolean |
isAutoGenerateId()
Gets the autoGenerateId property
|
boolean |
isBlobstoreEnabled()
When cache policy is "BLOB_STORE" only the indices + minimal administrative information will
be kept in cache per entry, while the data will be kept as blobs.
|
boolean |
isBroadcast() |
boolean |
isConcreteType()
Gets if this is a concrete type, i.e representing a concrete class (Pojo).
|
boolean |
isReplicable()
Returns true if this type is replicable, false otherwise.
|
boolean |
supportsDynamicProperties()
Returns true if this type supports dynamic properties, false otherwise.
|
boolean |
supportsOptimisticLocking()
Returns true if this type supports optimistic locking, false otherwise.
|
String getTypeName()
String getTypeSimpleName()
Class<? extends Object> getObjectClass()
Class<? extends SpaceDocument> getDocumentWrapperClass()
SpaceDocument
class is returned.FifoSupport getFifoSupport()
FifoSupport
boolean isReplicable()
int getNumOfFixedProperties()
SpacePropertyDescriptor getFixedProperty(int position)
position
- Position of requested fixed property.SpacePropertyDescriptor getFixedProperty(String name)
name
- Name of requested fixes property.int getFixedPropertyPosition(String propertyName)
propertyName
- Name of property to locate, case-insensitivedefault int getFixedPropertyPositionIgnoreCase(String name)
boolean supportsDynamicProperties()
boolean supportsOptimisticLocking()
@Deprecated default String getIdPropertyName()
getIdPropertiesNames()
instead.String getRoutingPropertyName()
String getFifoGroupingPropertyPath()
Set<String> getFifoGroupingIndexesPaths()
Map<String,SpaceIndex> getIndexes()
SpaceIndex
StorageType getStorageType()
boolean isConcreteType()
boolean isAutoGenerateId()
String getSuperTypeName()
boolean isBlobstoreEnabled()
boolean isBroadcast()
boolean hasSequenceNumber()
int getSequenceNumberFixedPropertyID()
TypeQueryExtensions getQueryExtensions()
String[] getPropertiesNames()
String[] getPropertiesNames(boolean isPrimaryKeyFirst)
String[] getPropertiesTypes()
boolean[] getPropertiesIndexTypes()
TieredStorageTableConfig getTieredStorageTableConfig()
Copyright © GigaSpaces.