Class MetadataProjectableAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
java.lang.Object
org.infinispan.query.dsl.embedded.impl.MetadataProjectableAdapter<TypeMetadata, AttributeMetadata, AttributeId>
- All Implemented Interfaces:
MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId>, org.infinispan.query.objectfilter.impl.predicateindex.MetadataProjectable<AttributeId>
- Direct Known Subclasses:
ReflectionMetadataProjectableAdapter
public abstract class MetadataProjectableAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
extends Object
implements MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId>, org.infinispan.query.objectfilter.impl.predicateindex.MetadataProjectable<AttributeId>
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataProjectableAdapter(MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId> baseAdapter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisComparableProperty(AttributeMetadata propertyAccessor) abstract booleanisValueProjection(AttributeId attribute) makeChildAttributeMetadata(AttributeMetadata parentAttributeMetadata, AttributeId attribute) Transforms a String property name path into an internal representation of the path which might not be String based (AttributeId is an Integer in the Protobuf case).abstract ObjectmetadataProjection(org.infinispan.metadata.Metadata metadata, AttributeId attribute) projection(Object key, Object instance, Object metadata, AttributeId attribute) abstract ObjectvalueProjection(Object rawValue)
-
Constructor Details
-
MetadataProjectableAdapter
public MetadataProjectableAdapter(MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId> baseAdapter)
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceMetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
-
getTypeMetadata
- Specified by:
getTypeMetadatain interfaceMetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
-
mapPropertyNamePathToFieldIdPath
Description copied from interface:MetadataAdapterTransforms a String property name path into an internal representation of the path which might not be String based (AttributeId is an Integer in the Protobuf case).- Specified by:
mapPropertyNamePathToFieldIdPathin interfaceMetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
-
makeChildAttributeMetadata
public AttributeMetadata makeChildAttributeMetadata(AttributeMetadata parentAttributeMetadata, AttributeId attribute) - Specified by:
makeChildAttributeMetadatain interfaceMetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
-
isComparableProperty
- Specified by:
isComparablePropertyin interfaceMetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
-
projection
- Specified by:
projectionin interfaceorg.infinispan.query.objectfilter.impl.predicateindex.MetadataProjectable<TypeMetadata>
-
isValueProjection
-
valueProjection
-
metadataProjection
public abstract Object metadataProjection(org.infinispan.metadata.Metadata metadata, AttributeId attribute)
-