public class TemporalAttributeIndexProvider extends Object implements AttributeIndexProviderSpi
Constructor and Description |
---|
TemporalAttributeIndexProvider() |
Modifier and Type | Method and Description |
---|---|
AttributeIndex |
buildIndex(String indexName,
DataTypeAdapter<?> adapter,
FieldDescriptor<?> fieldDescriptor)
Creates an attribute index for the given descriptor.
|
boolean |
supportsDescriptor(FieldDescriptor<?> fieldDescriptor)
Determines if the supplied field descriptor is supported by this attribute index provider.
|
public boolean supportsDescriptor(FieldDescriptor<?> fieldDescriptor)
AttributeIndexProviderSpi
supportsDescriptor
in interface AttributeIndexProviderSpi
fieldDescriptor
- the descriptor to checktrue
if this provider can create an attribute index for the descriptorpublic AttributeIndex buildIndex(String indexName, DataTypeAdapter<?> adapter, FieldDescriptor<?> fieldDescriptor)
AttributeIndexProviderSpi
buildIndex
in interface AttributeIndexProviderSpi
indexName
- the name of the attribute indexadapter
- the adapter that the field descriptor belongs tofieldDescriptor
- the field descriptor to create an index forCopyright © 2013–2022. All rights reserved.