org.elasticsearch.index.translog
Class Translog.Delete

java.lang.Object
  extended by org.elasticsearch.index.translog.Translog.Delete
All Implemented Interfaces:
Streamable, Translog.Operation
Enclosing interface:
Translog

public static class Translog.Delete
extends Object
implements Translog.Operation


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.translog.Translog.Operation
Translog.Operation.Type
 
Constructor Summary
Translog.Delete()
           
Translog.Delete(Engine.Delete delete)
           
Translog.Delete(org.apache.lucene.index.Term uid)
           
 
Method Summary
 long estimateSize()
           
 Translog.Operation.Type opType()
           
 void readFrom(StreamInput in)
           
 Translog.Source readSource(StreamInput in)
           
 org.apache.lucene.index.Term uid()
           
 long version()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Translog.Delete

public Translog.Delete()

Translog.Delete

public Translog.Delete(Engine.Delete delete)

Translog.Delete

public Translog.Delete(org.apache.lucene.index.Term uid)
Method Detail

opType

public Translog.Operation.Type opType()
Specified by:
opType in interface Translog.Operation

estimateSize

public long estimateSize()
Specified by:
estimateSize in interface Translog.Operation

uid

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

version

public long version()

readSource

public Translog.Source readSource(StreamInput in)
                           throws IOException
Specified by:
readSource in interface Translog.Operation
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.