Class Engine.Operation

java.lang.Object
org.elasticsearch.index.engine.Engine.Operation
Direct Known Subclasses:
Engine.Delete, Engine.Index, Engine.NoOp
Enclosing class:
Engine

public abstract static class Engine.Operation extends Object
  • Constructor Details

    • Operation

      public Operation(org.apache.lucene.index.Term uid, long seqNo, long primaryTerm, long version, VersionType versionType, Engine.Operation.Origin origin, long startTime)
  • Method Details

    • origin

      public Engine.Operation.Origin origin()
    • uid

      public org.apache.lucene.index.Term uid()
    • version

      public long version()
    • seqNo

      public long seqNo()
    • primaryTerm

      public long primaryTerm()
    • estimatedSizeInBytes

      public abstract int estimatedSizeInBytes()
    • versionType

      public VersionType versionType()
    • startTime

      public long startTime()
      Returns operation start time in nanoseconds.
    • type

      public abstract String type()
    • operationType

      public abstract Engine.Operation.TYPE operationType()