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

filteringAliases

public String[] filteringAliases()

types

public String[] types()

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.