Package com.gigaspaces.internal.metadata
Interface ITypeDesc
- All Superinterfaces:
Cloneable,Externalizable,IDotnetTypeDescDetails,ISwapExternalizable,Serializable,SpaceTypeDescriptor
- All Known Implementing Classes:
InactiveTypeDesc,TypeDesc
public interface ITypeDesc
extends SpaceTypeDescriptor, IDotnetTypeDescDetails, Cloneable, Externalizable, ISwapExternalizable
- Since:
- 7.0
- Author:
- Niv Ingberg
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclone()default intintgetEntryTypeDesc(EntryType entryType) getFixedProperty(int propertyID) Gets a fixed property by its position.int[]intgetIndexedPropertyID(int propertyID) Gets the indexes of the type, mapped by their names.getIndexType(String indexName) getIntrospector(EntryType entryType) intGets the number of fixed properties of the type.intint[]int[]getProperties(boolean isPrimaryKeyFirst) String[]intString[]booleanbooleanbooleanGets the autoGenerateId propertybooleanbooleanbooleanbooleanbooleandefault booleanbooleanbooleanMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.internal.metadata.IDotnetTypeDescDetails
getDotnetDocumentWrapperTypeName, getDotnetDynamicPropertiesStorageTypeMethods inherited from interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
readFromSwap, writeToSwapMethods inherited from interface com.gigaspaces.metadata.SpaceTypeDescriptor
getDocumentWrapperClass, getFifoGroupingIndexesPaths, getFifoGroupingPropertyPath, getFifoSupport, getFixedProperty, getFixedPropertyPosition, getFixedPropertyPositionIgnoreCase, getIdPropertiesNames, getIdPropertyName, getObjectClass, getPropertiesIndexTypes, getPropertiesNames, getPropertiesNames, getPropertiesTypes, getQueryExtensions, getRoutingPropertyName, getSequenceNumberFixedPropertyID, getStorageType, getSuperTypeName, getTypeName, getTypeSimpleName, hasSequenceNumber, isBlobstoreEnabled, isBroadcast, isConcreteType, isReplicable, supportsDynamicProperties, supportsOptimisticLocking
-
Method Details
-
clone
ITypeDesc clone() -
getCodeBase
String getCodeBase() -
isExternalizable
boolean isExternalizable() -
getSuperClassesNames
String[] getSuperClassesNames() -
getRestrictSuperClassesNames
String[] getRestrictSuperClassesNames() -
getProperties
PropertyInfo[] getProperties() -
getProperties
-
getNumOfFixedProperties
int getNumOfFixedProperties()Description copied from interface:SpaceTypeDescriptorGets the number of fixed properties of the type.- Specified by:
getNumOfFixedPropertiesin interfaceSpaceTypeDescriptor
-
getFixedProperty
Description copied from interface:SpaceTypeDescriptorGets a fixed property by its position.- Specified by:
getFixedPropertyin interfaceSpaceTypeDescriptor- Parameters:
propertyID- Position of requested fixed property.- Returns:
- Space property at specified position.
-
isAllPropertiesObjectStorageType
boolean isAllPropertiesObjectStorageType() -
getSpaceIdType
SpaceIdType getSpaceIdType() -
getAutoGeneratedPropertyId
default int getAutoGeneratedPropertyId() -
isRoutingSameAsId
default boolean isRoutingSameAsId() -
hasRoutingAnnotation
boolean hasRoutingAnnotation() -
getIdentifierPropertiesId
int[] getIdentifierPropertiesId() -
isAutoGenerateId
boolean isAutoGenerateId()Description copied from interface:SpaceTypeDescriptorGets the autoGenerateId property- Specified by:
isAutoGenerateIdin interfaceSpaceTypeDescriptor
-
isAutoGenerateRouting
boolean isAutoGenerateRouting() -
getRoutingPropertyId
int getRoutingPropertyId() -
getDefaultPropertyName
String getDefaultPropertyName() -
getChecksum
int getChecksum() -
getNumOfIndexedProperties
int getNumOfIndexedProperties() -
getIndexedPropertyID
int getIndexedPropertyID(int propertyID) -
isSystemType
boolean isSystemType() -
isFifoSupported
boolean isFifoSupported() -
isFifoDefault
boolean isFifoDefault() -
getObjectType
EntryType getObjectType() -
supports
-
getIntrospector
-
getEntryTypeDesc
-
isInactive
boolean isInactive() -
getIndexes
Map<String,SpaceIndex> getIndexes()Description copied from interface:SpaceTypeDescriptorGets the indexes of the type, mapped by their names.- Specified by:
getIndexesin interfaceSpaceTypeDescriptor- See Also:
-
getIndexType
-
getCompoundIndexes
List<SpaceIndex> getCompoundIndexes() -
anyCompoundIndex
boolean anyCompoundIndex() -
getClassBinaryStorageAdapter
ClassBinaryStorageAdapter getClassBinaryStorageAdapter() -
getVersionedSerializable
Serializable getVersionedSerializable() -
getPrimitivePropertiesWithoutNullValues
String getPrimitivePropertiesWithoutNullValues() -
getTypeUidPrefix
String getTypeUidPrefix() -
getSerializedProperties
PropertyInfo[] getSerializedProperties() -
getNonSerializedProperties
PropertyInfo[] getNonSerializedProperties() -
getPositionsForScanning
int[] getPositionsForScanning() -
getPositionsForSplitting
int[] getPositionsForSplitting() -
getTieredStorageTableConfig
TieredStorageTableConfig getTieredStorageTableConfig()- Specified by:
getTieredStorageTableConfigin interfaceSpaceTypeDescriptor
-