public class DefaultSpaceDocumentColumnFamilyMapper extends Object implements SpaceDocumentColumnFamilyMapper
SpaceDocumentColumnFamilyMapper
implementation.Constructor and Description |
---|
DefaultSpaceDocumentColumnFamilyMapper(PropertyValueSerializer fixedPropertyValueSerializer,
PropertyValueSerializer dynamicPropertyValueSerializer) |
DefaultSpaceDocumentColumnFamilyMapper(PropertyValueSerializer fixedPropertyValueSerializer,
PropertyValueSerializer dynamicPropertyValueSerializer,
FlattenedPropertiesFilter flattenePropertiesFilter,
ColumnFamilyNameConverter columnFamilyNameConverter) |
Modifier and Type | Method and Description |
---|---|
TypeNodeIntrospector |
getTypeNodeIntrospector() |
ColumnFamilyMetadata |
toColumnFamilyMetadata(SpaceTypeDescriptor typeDescriptor) |
ColumnFamilyRow |
toColumnFamilyRow(ColumnFamilyMetadata metadata,
SpaceDocument document,
ColumnFamilyRow.ColumnFamilyRowType type,
boolean useDynamicPropertySerializerForDynamicColumns) |
SpaceDocument |
toDocument(ColumnFamilyRow columnFamilyRow) |
public DefaultSpaceDocumentColumnFamilyMapper(PropertyValueSerializer fixedPropertyValueSerializer, PropertyValueSerializer dynamicPropertyValueSerializer, FlattenedPropertiesFilter flattenePropertiesFilter, ColumnFamilyNameConverter columnFamilyNameConverter)
public DefaultSpaceDocumentColumnFamilyMapper(PropertyValueSerializer fixedPropertyValueSerializer, PropertyValueSerializer dynamicPropertyValueSerializer)
public ColumnFamilyMetadata toColumnFamilyMetadata(SpaceTypeDescriptor typeDescriptor)
toColumnFamilyMetadata
in interface SpaceDocumentColumnFamilyMapper
typeDescriptor
- The type descriptor to convert.ColumnFamilyMetadata
matching the provided typeDescriptorpublic SpaceDocument toDocument(ColumnFamilyRow columnFamilyRow)
toDocument
in interface SpaceDocumentColumnFamilyMapper
columnFamilyRow
- The column family row to convert.SpaceDocument
matching the column family row data columns.public ColumnFamilyRow toColumnFamilyRow(ColumnFamilyMetadata metadata, SpaceDocument document, ColumnFamilyRow.ColumnFamilyRowType type, boolean useDynamicPropertySerializerForDynamicColumns)
toColumnFamilyRow
in interface SpaceDocumentColumnFamilyMapper
metadata
- The metadata corresponding the the converted document's type name.document
- The document typ convert.type
- The row type.ColumnFamilyRow
matching the provided docment.public TypeNodeIntrospector getTypeNodeIntrospector()
getTypeNodeIntrospector
in interface SpaceDocumentColumnFamilyMapper
Copyright © GigaSpaces.