Class IndexLogger

java.lang.Object
org.apache.jena.tdb1.index.IndexWrapper
org.apache.jena.tdb1.index.IndexLogger
All Implemented Interfaces:
Iterable<Record>, org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync, Index

public final class IndexLogger extends IndexWrapper
  • Constructor Details

    • IndexLogger

      public IndexLogger(RangeIndex rIdx, org.slf4j.Logger log)
  • Method Details

    • add

      public boolean add(Record record)
      Description copied from interface: Index
      Add a record - return true if an insertion was actually needed
      Specified by:
      add in interface Index
      Overrides:
      add in class IndexWrapper
    • delete

      public boolean delete(Record record)
      Description copied from interface: Index
      Delete a record. Return true if a record was actually removed
      Specified by:
      delete in interface Index
      Overrides:
      delete in class IndexWrapper
    • find

      public Record find(Record record)
      Description copied from interface: Index
      Find one record - and return the record actually in the index (may have a value part)
      Specified by:
      find in interface Index
      Overrides:
      find in class IndexWrapper
    • iterator

      public Iterator<Record> iterator()
      Description copied from interface: Index
      Iterate over the whole index
      Specified by:
      iterator in interface Index
      Specified by:
      iterator in interface Iterable<Record>
      Overrides:
      iterator in class IndexWrapper