public class InactiveTypeDesc extends Object implements ITypeDesc
| Constructor and Description |
|---|
InactiveTypeDesc() |
InactiveTypeDesc(String className,
String[] superClassesNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyCompoundIndex() |
ITypeDesc |
clone() |
int |
getChecksum() |
String |
getCodeBase() |
List<SpaceIndex> |
getCompoundIndexes() |
String |
getDefaultPropertyName() |
Class<? extends SpaceDocument> |
getDocumentWrapperClass()
Gets the document wrapper class.
|
String |
getDotnetDocumentWrapperTypeName() |
byte |
getDotnetDynamicPropertiesStorageType() |
EntryTypeDesc |
getEntryTypeDesc(EntryType entryType) |
Set<String> |
getFifoGroupingIndexesPaths()
Gets the fifo grouping indexes
|
String |
getFifoGroupingPropertyPath()
Gets the fifo grouping property
|
FifoSupport |
getFifoSupport()
Gets the type's FIFO support.
|
PropertyInfo |
getFixedProperty(int propertyID)
Gets a fixed property by its position.
|
PropertyInfo |
getFixedProperty(String propertyName)
Gets a fixed property by its name.
|
int |
getFixedPropertyPosition(String propertyName)
Gets the position of a fixed property by the specified property name.
|
int |
getIdentifierPropertyId() |
String |
getIdPropertyName()
Gets the ID property name.
|
boolean[] |
getIndexedFields() |
int |
getIndexedPropertyID(int propertyID) |
Map<String,SpaceIndex> |
getIndexes()
Gets the indexes of the type, mapped by their names.
|
SpaceIndexType |
getIndexType(String indexName) |
ITypeIntrospector |
getIntrospector(EntryType objectType) |
int |
getNumOfFixedProperties()
Gets the number of fixed properties of the type.
|
int |
getNumOfIndexedProperties() |
Class<? extends Object> |
getObjectClass()
Gets the java class which correlates to the type, if available.
|
EntryType |
getObjectType() |
String |
getPrimitivePropertiesWithoutNullValues() |
PropertyInfo[] |
getProperties() |
boolean[] |
getPropertiesIndexTypes() |
String[] |
getPropertiesNames() |
String[] |
getPropertiesTypes() |
TypeQueryExtensions |
getQueryExtensions() |
String[] |
getRestrictSuperClassesNames() |
int |
getRoutingPropertyId() |
String |
getRoutingPropertyName()
Gets the routing property name.
|
int |
getSequenceNumberFixedPropertyID() |
SpaceIdType |
getSpaceIdType() |
StorageType |
getStorageType()
Get the type storage type
|
String[] |
getSuperClassesNames() |
String |
getSuperTypeName()
Gets the super type name
|
String |
getTypeName()
Gets the type name.
|
String |
getTypeSimpleName()
Gets the type simple name.
|
Serializable |
getVersionedSerializable() |
boolean |
hasInvalidFields() |
boolean |
hasSequenceNumber() |
boolean |
isAllPropertiesObjectStorageType() |
boolean |
isAutoGenerateId()
Gets the autoGenerateId property
|
boolean |
isAutoGenerateRouting() |
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 |
isConcreteType()
Gets if this is a concrete type, i.e representing a concrete class (Pojo).
|
boolean |
isExternalizable() |
boolean |
isFifoDefault() |
boolean |
isFifoSupported() |
boolean |
isInactive() |
boolean |
isReplicable()
Returns true if this type is replicable, false otherwise.
|
boolean |
isSystemType() |
boolean |
isValidField(String fieldName) |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
void |
setIndexedFields(boolean[] indexedFields) |
void |
setReplicable(boolean replicable) |
boolean |
supports(EntryType entryType) |
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 |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
public String getTypeName()
SpaceTypeDescriptorgetTypeName in interface SpaceTypeDescriptorpublic String getTypeSimpleName()
SpaceTypeDescriptorgetTypeSimpleName in interface SpaceTypeDescriptorpublic String[] getSuperClassesNames()
getSuperClassesNames in interface ITypeDescpublic boolean isInactive()
isInactive in interface ITypeDescpublic ITypeDesc clone()
public Class<? extends Object> getObjectClass()
SpaceTypeDescriptorgetObjectClass in interface SpaceTypeDescriptorpublic Class<? extends SpaceDocument> getDocumentWrapperClass()
SpaceTypeDescriptorSpaceDocument class is returned.getDocumentWrapperClass in interface SpaceTypeDescriptorpublic boolean isExternalizable()
isExternalizable in interface ITypeDescpublic ITypeIntrospector getIntrospector(EntryType objectType)
getIntrospector in interface ITypeDescpublic EntryTypeDesc getEntryTypeDesc(EntryType entryType)
getEntryTypeDesc in interface ITypeDescpublic String getCodeBase()
getCodeBase in interface ITypeDescpublic String getIdPropertyName()
SpaceTypeDescriptorgetIdPropertyName in interface SpaceTypeDescriptorpublic int getIdentifierPropertyId()
getIdentifierPropertyId in interface ITypeDescpublic SpaceIdType getSpaceIdType()
getSpaceIdType in interface ITypeDescpublic boolean isAutoGenerateId()
SpaceTypeDescriptorisAutoGenerateId in interface ITypeDescisAutoGenerateId in interface SpaceTypeDescriptorpublic boolean isAutoGenerateRouting()
isAutoGenerateRouting in interface ITypeDescpublic boolean isBlobstoreEnabled()
SpaceTypeDescriptorisBlobstoreEnabled in interface SpaceTypeDescriptorpublic boolean supportsDynamicProperties()
SpaceTypeDescriptorsupportsDynamicProperties in interface SpaceTypeDescriptorpublic boolean supportsOptimisticLocking()
SpaceTypeDescriptorsupportsOptimisticLocking in interface SpaceTypeDescriptorpublic PropertyInfo[] getProperties()
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.public PropertyInfo getFixedProperty(String propertyName)
SpaceTypeDescriptorgetFixedProperty in interface SpaceTypeDescriptorpropertyName - Name of requested fixes property.public int getNumOfIndexedProperties()
getNumOfIndexedProperties in interface ITypeDescpublic int getIndexedPropertyID(int propertyID)
getIndexedPropertyID in interface ITypeDescpublic String[] getPropertiesNames()
getPropertiesNames in interface SpaceTypeDescriptorpublic String[] getPropertiesTypes()
getPropertiesTypes in interface SpaceTypeDescriptorpublic boolean[] getPropertiesIndexTypes()
getPropertiesIndexTypes in interface SpaceTypeDescriptorpublic String getDefaultPropertyName()
getDefaultPropertyName in interface ITypeDescpublic boolean[] getIndexedFields()
public EntryType getObjectType()
getObjectType in interface ITypeDescpublic String[] getRestrictSuperClassesNames()
getRestrictSuperClassesNames in interface ITypeDescpublic int getRoutingPropertyId()
getRoutingPropertyId in interface ITypeDescpublic String getRoutingPropertyName()
SpaceTypeDescriptorgetRoutingPropertyName in interface SpaceTypeDescriptorpublic int getChecksum()
getChecksum in interface ITypeDescpublic boolean hasInvalidFields()
public 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 isValidField(String fieldName)
public void setIndexedFields(boolean[] indexedFields)
public void setReplicable(boolean replicable)
public Map<String,SpaceIndex> getIndexes()
SpaceTypeDescriptorgetIndexes in interface ITypeDescgetIndexes in interface SpaceTypeDescriptorSpaceIndexpublic SpaceIndexType getIndexType(String indexName)
getIndexType in interface ITypeDescpublic byte getDotnetDynamicPropertiesStorageType()
getDotnetDynamicPropertiesStorageType in interface IDotnetTypeDescDetailspublic String getDotnetDocumentWrapperTypeName()
getDotnetDocumentWrapperTypeName in interface IDotnetTypeDescDetailspublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic 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 boolean isConcreteType()
SpaceTypeDescriptorisConcreteType in interface SpaceTypeDescriptorpublic String getSuperTypeName()
SpaceTypeDescriptorgetSuperTypeName in interface SpaceTypeDescriptorpublic TypeQueryExtensions getQueryExtensions()
getQueryExtensions in interface SpaceTypeDescriptorpublic Serializable getVersionedSerializable()
getVersionedSerializable in interface ITypeDescpublic List<SpaceIndex> getCompoundIndexes()
getCompoundIndexes in interface ITypeDescpublic boolean anyCompoundIndex()
anyCompoundIndex in interface ITypeDescpublic String getPrimitivePropertiesWithoutNullValues()
getPrimitivePropertiesWithoutNullValues in interface ITypeDescpublic boolean hasSequenceNumber()
hasSequenceNumber in interface SpaceTypeDescriptorpublic int getSequenceNumberFixedPropertyID()
getSequenceNumberFixedPropertyID in interface SpaceTypeDescriptorCopyright © GigaSpaces.