Package org.basex.index
Class IndexNames
- java.lang.Object
-
- org.basex.index.IndexNames
-
public final class IndexNames extends Object
Names and namespace uris of elements/attribute to index.- Author:
- BaseX Team 2005-24, BSD License, Christian Gruen
-
-
Constructor Summary
Constructors Constructor Description IndexNames(IndexType type, Data data)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(byte[][] qname)
Checks if the specified name is an index candidate.boolean
contains(int pre, boolean text)
Checks if the name of the addressed database entry is to be indexed.boolean
containsIds(boolean idref)
Checks if the index names contain all relevant id or idref attributes.boolean
isEmpty()
Checks if the list of names is empty.
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Checks if the list of names is empty.- Returns:
- result of check
-
contains
public boolean contains(int pre, boolean text)
Checks if the name of the addressed database entry is to be indexed.- Parameters:
pre
- pre valuetext
- text flag- Returns:
- result of check
-
contains
public boolean contains(byte[][] qname)
Checks if the specified name is an index candidate.- Parameters:
qname
- local name and namespace uri (reference or array entries can benull
)- Returns:
- result of check
-
containsIds
public boolean containsIds(boolean idref)
Checks if the index names contain all relevant id or idref attributes.- Parameters:
idref
- idref flag- Returns:
- result of check
-
-