Class BitSetBooleanIndex
java.lang.Object
org.teamapps.universaldb.index.AbstractIndex<TYPE,FILTER>
org.teamapps.universaldb.index.AbstractBufferIndex<java.lang.Boolean,BooleanFilter>
org.teamapps.universaldb.index.bool.BooleanIndex
org.teamapps.universaldb.index.bool.BitSetBooleanIndex
- All Implemented Interfaces:
ColumnIndex<java.lang.Boolean,BooleanFilter>,MappedObject
public class BitSetBooleanIndex extends BooleanIndex
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BitSetBooleanIndex(java.lang.String name, TableIndex table) -
Method Summary
Modifier and Type Method Description java.util.BitSetfilterEquals(java.util.BitSet bitSet, boolean compare)java.util.BitSetfilterNotEquals(java.util.BitSet bitSet, boolean compare)java.util.BitSetgetBitSet()booleangetValue(int id)voidsetValue(int id, boolean value)Methods inherited from class org.teamapps.universaldb.index.bool.BooleanIndex
filter, getEntrySize, getGenericValue, getType, readTransactionValue, removeValue, setGenericValue, sortRecords, writeTransactionValueMethods inherited from class org.teamapps.universaldb.index.AbstractBufferIndex
close, drop, ensureBufferSize, getBuffer, getIndexForId, getMaximumId, getOffsetForIndexMethods inherited from class org.teamapps.universaldb.index.AbstractIndex
getFQN, getFullTextIndexingOptions, getMappingId, getName, getPath, getTable, negateInput, setMappingId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.universaldb.index.ColumnIndex
createFilter, createFilter, getReferencedColumn, getStringValue, writeSchema
-
Constructor Details
-
Method Details
-
getValue
public boolean getValue(int id)- Overrides:
getValuein classBooleanIndex
-
setValue
public void setValue(int id, boolean value)- Overrides:
setValuein classBooleanIndex
-
getBitSet
public java.util.BitSet getBitSet() -
filterEquals
public java.util.BitSet filterEquals(java.util.BitSet bitSet, boolean compare)- Overrides:
filterEqualsin classBooleanIndex
-
filterNotEquals
public java.util.BitSet filterNotEquals(java.util.BitSet bitSet, boolean compare)- Overrides:
filterNotEqualsin classBooleanIndex
-