public class TypeDesc extends Object implements ITypeDesc
| Modifier and Type | Field and Description | 
|---|---|
| static int | NO_SUCH_PROPERTY | 
| Constructor and Description | 
|---|
| TypeDesc()Default constructor for Externalizable. | 
| TypeDesc(String typeName,
        String codeBase,
        String[] superTypesNames,
        PropertyInfo[] properties,
        boolean supportsDynamicProperties,
        Map<String,SpaceIndex> indexes,
        List<String> idPropertiesNames,
        boolean idAutoGenerate,
        String defaultPropertyName,
        String routingPropertyName,
        String fifoGroupingName,
        Set<String> fifoGroupingIndexes,
        boolean systemType,
        FifoSupport fifoMode,
        boolean replicable,
        boolean supportsOptimisticLocking,
        StorageType storageType,
        EntryType entryType,
        Class<? extends Object> objectClass,
        Class<? extends ExternalEntry> externalEntryClass,
        Class<? extends SpaceDocument> documentWrapperClass,
        String dotnetDocumentWrapperType,
        byte dotnetStorageType,
        boolean blobstoreEnabled,
        String sequenceNumberPropertyName,
        TypeQueryExtensions queryExtensionsInfo,
        Class<? extends ClassBinaryStorageAdapter> binaryStorageAdapter,
        boolean broadcast,
        TieredStorageTableConfig tieredStorageTableConfig) | 
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAutoGeneratedPropertyId, isRoutingSameAsIdgetFixedPropertyPositionIgnoreCase, getIdPropertyNamepublic static final int NO_SUCH_PROPERTY
public TypeDesc()
public TypeDesc(String typeName, String codeBase, String[] superTypesNames, PropertyInfo[] properties, boolean supportsDynamicProperties, Map<String,SpaceIndex> indexes, List<String> idPropertiesNames, boolean idAutoGenerate, String defaultPropertyName, String routingPropertyName, String fifoGroupingName, Set<String> fifoGroupingIndexes, boolean systemType, FifoSupport fifoMode, boolean replicable, boolean supportsOptimisticLocking, StorageType storageType, EntryType entryType, Class<? extends Object> objectClass, Class<? extends ExternalEntry> externalEntryClass, Class<? extends SpaceDocument> documentWrapperClass, String dotnetDocumentWrapperType, byte dotnetStorageType, boolean blobstoreEnabled, String sequenceNumberPropertyName, TypeQueryExtensions queryExtensionsInfo, Class<? extends ClassBinaryStorageAdapter> binaryStorageAdapter, boolean broadcast, TieredStorageTableConfig tieredStorageTableConfig)
public ITypeDesc clone()
public boolean isInactive()
isInactive in interface ITypeDescpublic String getTypeName()
SpaceTypeDescriptorgetTypeName in interface SpaceTypeDescriptorpublic String getTypeUidPrefix()
getTypeUidPrefix in interface ITypeDescpublic String getTypeSimpleName()
SpaceTypeDescriptorgetTypeSimpleName in interface SpaceTypeDescriptorpublic Class<? extends Object> getObjectClass()
SpaceTypeDescriptorgetObjectClass in interface SpaceTypeDescriptorpublic Class<? extends SpaceDocument> getDocumentWrapperClass()
SpaceTypeDescriptorSpaceDocument class is returned.getDocumentWrapperClass in interface SpaceTypeDescriptorpublic String getCodeBase()
getCodeBase in interface ITypeDescpublic boolean isExternalizable()
isExternalizable in interface ITypeDescpublic String[] getSuperClassesNames()
getSuperClassesNames in interface ITypeDescpublic String getSuperTypeName()
SpaceTypeDescriptorgetSuperTypeName in interface SpaceTypeDescriptorpublic String[] getRestrictSuperClassesNames()
getRestrictSuperClassesNames in interface ITypeDescpublic PropertyInfo[] getProperties()
getProperties in interface ITypeDescpublic PropertyInfo[] getProperties(boolean isPrimaryKeyFirst)
getProperties in interface ITypeDescpublic int getNumOfFixedProperties()
SpaceTypeDescriptorgetNumOfFixedProperties in interface ITypeDescgetNumOfFixedProperties in interface SpaceTypeDescriptorpublic PropertyInfo getFixedProperty(int propertyID)
SpaceTypeDescriptorgetFixedProperty in interface ITypeDescgetFixedProperty in interface SpaceTypeDescriptorpropertyID - Position of requested fixed property.public int getFixedPropertyPosition(String propertyName)
SpaceTypeDescriptorgetFixedPropertyPosition in interface SpaceTypeDescriptorpropertyName - Name of property to locate, case-insensitivepublic PropertyInfo getFixedProperty(String propertyName)
SpaceTypeDescriptorgetFixedProperty in interface SpaceTypeDescriptorpropertyName - Name of requested  fixes property.public boolean supportsDynamicProperties()
SpaceTypeDescriptorsupportsDynamicProperties in interface SpaceTypeDescriptorpublic void setDynamicProperties(boolean supportsDynamicProperties)
public boolean supportsOptimisticLocking()
SpaceTypeDescriptorsupportsOptimisticLocking in interface SpaceTypeDescriptorpublic int getNumOfIndexedProperties()
getNumOfIndexedProperties in interface ITypeDescpublic int getIndexedPropertyID(int propertyID)
getIndexedPropertyID in interface ITypeDescpublic int[] getIdentifierPropertiesId()
getIdentifierPropertiesId in interface ITypeDescpublic List<String> getIdPropertiesNames()
SpaceTypeDescriptorgetIdPropertiesNames in interface SpaceTypeDescriptorpublic SpaceIdType getSpaceIdType()
getSpaceIdType in interface ITypeDescpublic boolean isAutoGenerateId()
SpaceTypeDescriptorisAutoGenerateId in interface ITypeDescisAutoGenerateId in interface SpaceTypeDescriptorpublic boolean isAutoGenerateRouting()
isAutoGenerateRouting in interface ITypeDescpublic int getRoutingPropertyId()
getRoutingPropertyId in interface ITypeDescpublic String getRoutingPropertyName()
SpaceTypeDescriptorgetRoutingPropertyName in interface SpaceTypeDescriptorpublic String getDefaultPropertyName()
getDefaultPropertyName in interface ITypeDescpublic boolean isFifoSupported()
isFifoSupported in interface ITypeDescpublic boolean isFifoDefault()
isFifoDefault in interface ITypeDescpublic FifoSupport getFifoSupport()
SpaceTypeDescriptorgetFifoSupport in interface SpaceTypeDescriptorFifoSupportpublic boolean isSystemType()
isSystemType in interface ITypeDescpublic boolean isReplicable()
SpaceTypeDescriptorisReplicable in interface SpaceTypeDescriptorpublic boolean isBlobstoreEnabled()
SpaceTypeDescriptorisBlobstoreEnabled in interface SpaceTypeDescriptorpublic boolean isBroadcast()
isBroadcast in interface SpaceTypeDescriptorpublic EntryType getObjectType()
getObjectType in interface ITypeDescpublic String[] getPropertiesNames()
getPropertiesNames in interface SpaceTypeDescriptorpublic String[] getPropertiesNames(boolean isPrimaryKeyFirst)
getPropertiesNames in interface SpaceTypeDescriptorpublic String[] getPropertiesTypes()
getPropertiesTypes in interface SpaceTypeDescriptorpublic boolean[] getPropertiesIndexTypes()
getPropertiesIndexTypes in interface SpaceTypeDescriptorpublic TieredStorageTableConfig getTieredStorageTableConfig()
getTieredStorageTableConfig in interface ITypeDescgetTieredStorageTableConfig in interface SpaceTypeDescriptorpublic int getChecksum()
getChecksum in interface ITypeDescpublic boolean isConcreteType()
SpaceTypeDescriptorisConcreteType in interface SpaceTypeDescriptorpublic EntryTypeDesc getEntryTypeDesc(EntryType entryType)
getEntryTypeDesc in interface ITypeDescpublic ITypeIntrospector getIntrospector(EntryType entryType)
getIntrospector in interface ITypeDescpublic Map<String,SpaceIndex> getIndexes()
SpaceTypeDescriptorgetIndexes in interface ITypeDescgetIndexes in interface SpaceTypeDescriptorSpaceIndexpublic TypeQueryExtensions getQueryExtensions()
getQueryExtensions in interface SpaceTypeDescriptorpublic SpaceIndexType getIndexType(String indexName)
getIndexType in interface ITypeDescpublic byte getDotnetDynamicPropertiesStorageType()
getDotnetDynamicPropertiesStorageType in interface IDotnetTypeDescDetailspublic String getDotnetDocumentWrapperTypeName()
getDotnetDocumentWrapperTypeName in interface IDotnetTypeDescDetailspublic String getPrimitivePropertiesWithoutNullValues()
getPrimitivePropertiesWithoutNullValues in interface ITypeDescpublic boolean hasSequenceNumber()
hasSequenceNumber in interface SpaceTypeDescriptorpublic int getSequenceNumberFixedPropertyID()
getSequenceNumberFixedPropertyID in interface SpaceTypeDescriptorpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic boolean isAllPropertiesObjectStorageType()
isAllPropertiesObjectStorageType in interface ITypeDescpublic StorageType getStorageType()
SpaceTypeDescriptorgetStorageType in interface SpaceTypeDescriptorpublic String getFifoGroupingPropertyPath()
SpaceTypeDescriptorgetFifoGroupingPropertyPath in interface SpaceTypeDescriptorpublic Set<String> getFifoGroupingIndexesPaths()
SpaceTypeDescriptorgetFifoGroupingIndexesPaths in interface SpaceTypeDescriptorpublic List<SpaceIndex> getCompoundIndexes()
getCompoundIndexes in interface ITypeDescpublic boolean anyCompoundIndex()
anyCompoundIndex in interface ITypeDescpublic ClassBinaryStorageAdapter getClassBinaryStorageAdapter()
getClassBinaryStorageAdapter in interface ITypeDescpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic Serializable getVersionedSerializable()
getVersionedSerializable in interface ITypeDescpublic String getDocumentWrapperClassName()
public Class<? extends ExternalEntry> getExternalEntryWrapperClass()
public PropertyInfo[] getSerializedProperties()
getSerializedProperties in interface ITypeDescpublic PropertyInfo[] getNonSerializedProperties()
getNonSerializedProperties in interface ITypeDescpublic int[] getPositionsForScanning()
getPositionsForScanning in interface ITypeDescpublic int[] getPositionsForSplitting()
getPositionsForSplitting in interface ITypeDescCopyright © GigaSpaces.