Class IndexLogger

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

public final class IndexLogger extends IndexWrapper
  • Constructor Summary

    Constructors
    Constructor
    Description
    IndexLogger(RangeIndex rIdx, org.slf4j.Logger log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    delete(org.apache.jena.dboe.base.record.Record record)
    Delete a record - Return true if a record was actually removed
    org.apache.jena.dboe.base.record.Record
    find(org.apache.jena.dboe.base.record.Record record)
    Find one record - and return the record actually in the index (may have a value part)
    boolean
    insert(org.apache.jena.dboe.base.record.Record record)
    Insert a record - return true if an insertion was actually needed
    Iterator<org.apache.jena.dboe.base.record.Record>
    Iterate over the whole index

    Methods inherited from class org.apache.jena.dboe.index.IndexWrapper

    check, clear, close, contains, getRecordFactory, isEmpty, size, sync

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • IndexLogger

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

    • insert

      public boolean insert(org.apache.jena.dboe.base.record.Record record)
      Description copied from interface: Index
      Insert a record - return true if an insertion was actually needed
      Specified by:
      insert in interface Index
      Overrides:
      insert in class IndexWrapper
    • delete

      public boolean delete(org.apache.jena.dboe.base.record.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 org.apache.jena.dboe.base.record.Record find(org.apache.jena.dboe.base.record.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<org.apache.jena.dboe.base.record.Record> iterator()
      Description copied from interface: Index
      Iterate over the whole index
      Specified by:
      iterator in interface Index
      Specified by:
      iterator in interface Iterable<org.apache.jena.dboe.base.record.Record>
      Overrides:
      iterator in class IndexWrapper