org.elasticsearch.index.translog
Class Translog.DeleteByQuery

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

public static class Translog.DeleteByQuery
extends java.lang.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.DeleteByQuery()
           
Translog.DeleteByQuery(byte[] source, java.lang.String queryParserName, java.lang.String... types)
           
Translog.DeleteByQuery(Engine.DeleteByQuery deleteByQuery)
           
 
Method Summary
 long estimateSize()
           
 Translog.Operation.Type opType()
           
 java.lang.String queryParserName()
           
 void readFrom(StreamInput in)
           
 byte[] source()
           
 java.lang.String[] types()
           
 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.DeleteByQuery

public Translog.DeleteByQuery()

Translog.DeleteByQuery

public Translog.DeleteByQuery(Engine.DeleteByQuery deleteByQuery)

Translog.DeleteByQuery

public Translog.DeleteByQuery(byte[] source,
                              @Nullable
                              java.lang.String queryParserName,
                              java.lang.String... types)
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

queryParserName

public java.lang.String queryParserName()

source

public byte[] source()

types

public java.lang.String[] types()

readFrom

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

writeTo

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