public interface Index extends Filter
NodeKey
s that satisfy a particular portion of a query.
Each time ModeShape uses this index, it calls the Filter.filter(IndexConstraints)
method with a set of
IndexConstraints
to obtain an Filter.Results
instance that ModeShape will
then use to access
the batches of
node keys that satisfy the constraints. Note that once an Filter.Results
is
obtained, it may be called zero or more times but will always be closed.
IndexProvider.getIndex(String,String)
Filter.Results
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of this index.
|
String |
getProviderName()
Get the name of the
IndexProvider that owns this index. |
boolean |
isEnabled()
Determine if this index is enabled for use.
|
boolean |
supportsFullTextConstraints()
Return whether this index can use full-text search constraints.
|
String getProviderName()
IndexProvider
that owns this index.name
; never nullString getName()
boolean supportsFullTextConstraints()
boolean isEnabled()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.