Klasse BinaryIndex

java.lang.Object
org.teamapps.universaldb.index.AbstractIndex<byte[],BinaryFilter>
org.teamapps.universaldb.index.binary.BinaryIndex
Alle implementierten Schnittstellen:
FieldIndex<byte[],BinaryFilter>, MappedObject

public class BinaryIndex extends AbstractIndex<byte[],BinaryFilter>
  • Konstruktordetails

  • Methodendetails

    • getType

      public IndexType getType()
    • getGenericValue

      public byte[] getGenericValue(int id)
    • isEmpty

      public boolean isEmpty(int id)
    • setGenericValue

      public void setGenericValue(int id, byte[] value)
    • removeValue

      public void removeValue(int id)
    • getLength

      public int getLength(int id)
    • getInputStreamSupplier

      public Supplier<InputStream> getInputStreamSupplier(int id)
    • getValue

      public byte[] getValue(int id)
    • setValue

      public void setValue(int id, byte[] value)
    • sortRecords

      public List<SortEntry> sortRecords(List<SortEntry> sortEntries, boolean ascending, UserContext userContext)
    • dumpIndex

      public void dumpIndex(DataOutputStream dataOutputStream, BitSet records) throws IOException
      Löst aus:
      IOException
    • restoreIndex

      public void restoreIndex(DataInputStream dataInputStream) throws IOException
      Löst aus:
      IOException
    • close

      public void close()
    • drop

      public void drop()
    • filter

      public BitSet filter(BitSet records, BinaryFilter binaryFilter)