Class LuceneSailBuffer


  • @Deprecated(since="3.0")
    @InternalUseOnly
    public class LuceneSailBuffer
    extends java.lang.Object
    Deprecated.
    This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.
    A buffer collecting all transaction operations (triples that need to be added, removed, clear operations) so that they can be executed at once during commit.
    • Field Detail

      • useType

        private final boolean useType
        Deprecated.
    • Constructor Detail

      • LuceneSailBuffer

        public LuceneSailBuffer()
        Deprecated.
      • LuceneSailBuffer

        public LuceneSailBuffer​(boolean useType)
        Deprecated.
    • Method Detail

      • add

        public void add​(Statement s)
        Deprecated.
        Add this statement to the buffer
        Parameters:
        s - the statement
      • addTypeStatement

        public void addTypeStatement​(Statement s,
                                     boolean rightType)
        Deprecated.
        Add this type statement to the buffer
        Parameters:
        s - the statement
      • remove

        public void remove​(Statement s)
        Deprecated.
        Remove this statement to the buffer
        Parameters:
        s - the statement
      • removeTypeStatement

        public void removeTypeStatement​(Statement s)
        Deprecated.
        Remove this type statement to the buffer
        Parameters:
        s - the statement
      • clear

        public void clear​(Resource[] contexts)
        Deprecated.
      • operationsIterator

        public java.util.Iterator<LuceneSailBuffer.Operation> operationsIterator()
        Deprecated.
        Iterator over the operations
      • operations

        public java.util.List<LuceneSailBuffer.Operation> operations()
        Deprecated.
        the list of operations. You must not change it
      • optimize

        public void optimize()
        Deprecated.
        Optimize will remove any changes that are done before a clear()
      • reset

        public void reset()
        Deprecated.
        reset the buffer, empty the operations list