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[] filteringAliases, java.lang.String... types)
           
Translog.DeleteByQuery(Engine.DeleteByQuery deleteByQuery)
           
 
Method Summary
 long estimateSize()
           
 java.lang.String[] filteringAliases()
           
 Translog.Operation.Type opType()
           
 void readFrom(StreamInput in)
           
 BytesHolder readSource(BytesStreamInput 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,
                              java.lang.String[] filteringAliases,
                              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

source

public byte[] source()

filteringAliases

public java.lang.String[] filteringAliases()

types

public java.lang.String[] types()

readSource

public BytesHolder readSource(BytesStreamInput in)
                       throws java.io.IOException
Specified by:
readSource in interface Translog.Operation
Throws:
java.io.IOException

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