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()
SpaceTypeDescriptor
getTypeName
in interface SpaceTypeDescriptor
public String getTypeSimpleName()
SpaceTypeDescriptor
getTypeSimpleName
in interface SpaceTypeDescriptor
public String[] getSuperClassesNames()
getSuperClassesNames
in interface ITypeDesc
public boolean isInactive()
isInactive
in interface ITypeDesc
public ITypeDesc clone()
public Class<? extends Object> getObjectClass()
SpaceTypeDescriptor
getObjectClass
in interface SpaceTypeDescriptor
public Class<? extends SpaceDocument> getDocumentWrapperClass()
SpaceTypeDescriptor
SpaceDocument
class is returned.getDocumentWrapperClass
in interface SpaceTypeDescriptor
public boolean isExternalizable()
isExternalizable
in interface ITypeDesc
public ITypeIntrospector getIntrospector(EntryType objectType)
getIntrospector
in interface ITypeDesc
public EntryTypeDesc getEntryTypeDesc(EntryType entryType)
getEntryTypeDesc
in interface ITypeDesc
public String getCodeBase()
getCodeBase
in interface ITypeDesc
public String getIdPropertyName()
SpaceTypeDescriptor
getIdPropertyName
in interface SpaceTypeDescriptor
public int getIdentifierPropertyId()
getIdentifierPropertyId
in interface ITypeDesc
public SpaceIdType getSpaceIdType()
getSpaceIdType
in interface ITypeDesc
public boolean isAutoGenerateId()
SpaceTypeDescriptor
isAutoGenerateId
in interface ITypeDesc
isAutoGenerateId
in interface SpaceTypeDescriptor
public boolean isAutoGenerateRouting()
isAutoGenerateRouting
in interface ITypeDesc
public boolean isBlobstoreEnabled()
SpaceTypeDescriptor
isBlobstoreEnabled
in interface SpaceTypeDescriptor
public boolean supportsDynamicProperties()
SpaceTypeDescriptor
supportsDynamicProperties
in interface SpaceTypeDescriptor
public boolean supportsOptimisticLocking()
SpaceTypeDescriptor
supportsOptimisticLocking
in interface SpaceTypeDescriptor
public PropertyInfo[] getProperties()
getProperties
in interface ITypeDesc
public int getNumOfFixedProperties()
SpaceTypeDescriptor
getNumOfFixedProperties
in interface ITypeDesc
getNumOfFixedProperties
in interface SpaceTypeDescriptor
public PropertyInfo getFixedProperty(int propertyID)
SpaceTypeDescriptor
getFixedProperty
in interface ITypeDesc
getFixedProperty
in interface SpaceTypeDescriptor
propertyID
- Position of requested fixed property.public int getFixedPropertyPosition(String propertyName)
SpaceTypeDescriptor
getFixedPropertyPosition
in interface SpaceTypeDescriptor
propertyName
- Name of property to locate.public PropertyInfo getFixedProperty(String propertyName)
SpaceTypeDescriptor
getFixedProperty
in interface SpaceTypeDescriptor
propertyName
- Name of requested fixes property.public int getNumOfIndexedProperties()
getNumOfIndexedProperties
in interface ITypeDesc
public int getIndexedPropertyID(int propertyID)
getIndexedPropertyID
in interface ITypeDesc
public String[] getPropertiesNames()
getPropertiesNames
in interface SpaceTypeDescriptor
public String[] getPropertiesTypes()
getPropertiesTypes
in interface SpaceTypeDescriptor
public boolean[] getPropertiesIndexTypes()
getPropertiesIndexTypes
in interface SpaceTypeDescriptor
public String getDefaultPropertyName()
getDefaultPropertyName
in interface ITypeDesc
public boolean[] getIndexedFields()
public EntryType getObjectType()
getObjectType
in interface ITypeDesc
public String[] getRestrictSuperClassesNames()
getRestrictSuperClassesNames
in interface ITypeDesc
public int getRoutingPropertyId()
getRoutingPropertyId
in interface ITypeDesc
public String getRoutingPropertyName()
SpaceTypeDescriptor
getRoutingPropertyName
in interface SpaceTypeDescriptor
public int getChecksum()
getChecksum
in interface ITypeDesc
public boolean hasInvalidFields()
public boolean isFifoSupported()
isFifoSupported
in interface ITypeDesc
public boolean isFifoDefault()
isFifoDefault
in interface ITypeDesc
public FifoSupport getFifoSupport()
SpaceTypeDescriptor
getFifoSupport
in interface SpaceTypeDescriptor
FifoSupport
public boolean isSystemType()
isSystemType
in interface ITypeDesc
public boolean isReplicable()
SpaceTypeDescriptor
isReplicable
in interface SpaceTypeDescriptor
public boolean isValidField(String fieldName)
public void setIndexedFields(boolean[] indexedFields)
public void setReplicable(boolean replicable)
public Map<String,SpaceIndex> getIndexes()
SpaceTypeDescriptor
getIndexes
in interface ITypeDesc
getIndexes
in interface SpaceTypeDescriptor
SpaceIndex
public SpaceIndexType getIndexType(String indexName)
getIndexType
in interface ITypeDesc
public byte getDotnetDynamicPropertiesStorageType()
getDotnetDynamicPropertiesStorageType
in interface IDotnetTypeDescDetails
public String getDotnetDocumentWrapperTypeName()
getDotnetDocumentWrapperTypeName
in interface IDotnetTypeDescDetails
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public boolean isAllPropertiesObjectStorageType()
isAllPropertiesObjectStorageType
in interface ITypeDesc
public StorageType getStorageType()
SpaceTypeDescriptor
getStorageType
in interface SpaceTypeDescriptor
public String getFifoGroupingPropertyPath()
SpaceTypeDescriptor
getFifoGroupingPropertyPath
in interface SpaceTypeDescriptor
public Set<String> getFifoGroupingIndexesPaths()
SpaceTypeDescriptor
getFifoGroupingIndexesPaths
in interface SpaceTypeDescriptor
public boolean isConcreteType()
SpaceTypeDescriptor
isConcreteType
in interface SpaceTypeDescriptor
public String getSuperTypeName()
SpaceTypeDescriptor
getSuperTypeName
in interface SpaceTypeDescriptor
public TypeQueryExtensions getQueryExtensions()
getQueryExtensions
in interface SpaceTypeDescriptor
public Serializable getVersionedSerializable()
getVersionedSerializable
in interface ITypeDesc
public List<SpaceIndex> getCompoundIndexes()
getCompoundIndexes
in interface ITypeDesc
public boolean anyCompoundIndex()
anyCompoundIndex
in interface ITypeDesc
public String getPrimitivePropertiesWithoutNullValues()
getPrimitivePropertiesWithoutNullValues
in interface ITypeDesc
public boolean hasSequenceNumber()
hasSequenceNumber
in interface SpaceTypeDescriptor
public int getSequenceNumberFixedPropertyID()
getSequenceNumberFixedPropertyID
in interface SpaceTypeDescriptor
Copyright © GigaSpaces.