protected static class ManagedLocalIndexBuilder.SingleColumnIndexBuilder<T> extends ManagedLocalIndexBuilder<T>
ManagedLocalIndexBuilder.SingleColumnIndexBuilder<T>
context, defn, matcher, nodeTypesSupplier, serializers
Modifier | Constructor and Description |
---|---|
protected |
ManagedLocalIndexBuilder.SingleColumnIndexBuilder(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
ChangeSetAdapter.NodeTypePredicate matcher,
PropertyType actualPropertyType) |
Modifier and Type | Method and Description |
---|---|
ManagedLocalIndex |
build(String workspaceName,
org.mapdb.DB db)
Build the managed index.
|
protected org.mapdb.BTreeKeySerializer<T> |
getBTreeKeySerializer() |
protected PropertyType |
getColumnType() |
protected Comparator<T> |
getComparator() |
protected IndexValues.Converter<T> |
getConverter() |
protected org.mapdb.Serializer<T> |
getSerializer() |
protected Class<T> |
getValueClass() |
protected boolean |
isMixinTypesIndex() |
protected boolean |
isNodeDepthIndex() |
protected boolean |
isNodeLocalNameIndex() |
protected boolean |
isNodeNameIndex() |
protected boolean |
isNodePathIndex() |
protected boolean |
isNodeTypesIndex() |
protected boolean |
isPrimaryTypeIndex() |
void |
validate(Problems problems)
Validate whether the index definition is acceptable for this provider.
|
create, determineActualPropertyType, firstColumn, getNodeTypesSupplier, hasSingleColumn, indexName, isType, isType, matches, matches, name
protected ManagedLocalIndexBuilder.SingleColumnIndexBuilder(ExecutionContext context, IndexDefinition defn, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher, PropertyType actualPropertyType)
protected org.mapdb.Serializer<T> getSerializer()
getSerializer
in class ManagedLocalIndexBuilder<T>
protected org.mapdb.BTreeKeySerializer<T> getBTreeKeySerializer()
getBTreeKeySerializer
in class ManagedLocalIndexBuilder<T>
protected Comparator<T> getComparator()
getComparator
in class ManagedLocalIndexBuilder<T>
protected Class<T> getValueClass()
getValueClass
in class ManagedLocalIndexBuilder<T>
protected PropertyType getColumnType()
protected IndexValues.Converter<T> getConverter()
getConverter
in class ManagedLocalIndexBuilder<T>
protected boolean isNodeTypesIndex()
isNodeTypesIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isPrimaryTypeIndex()
isPrimaryTypeIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isMixinTypesIndex()
isMixinTypesIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isNodeNameIndex()
isNodeNameIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isNodeLocalNameIndex()
isNodeLocalNameIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isNodeDepthIndex()
isNodeDepthIndex
in class ManagedLocalIndexBuilder<T>
protected boolean isNodePathIndex()
isNodePathIndex
in class ManagedLocalIndexBuilder<T>
public void validate(Problems problems)
ManagedLocalIndexBuilder
validate
in class ManagedLocalIndexBuilder<T>
problems
- the component to record any problems, errors, or warnings; may not be nullpublic ManagedLocalIndex build(String workspaceName, org.mapdb.DB db) throws LocalIndexException
ManagedLocalIndexBuilder
build
in class ManagedLocalIndexBuilder<T>
workspaceName
- the name of the workspace; may not be nulldb
- the local database; may not be nullLocalIndexException
- if there is a problem creating the indexCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.