Package org.elasticsearch.index.engine
Class Engine.Get
java.lang.Object
org.elasticsearch.index.engine.Engine.Get
- Enclosing class:
- Engine
public static class Engine.Get
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Get(boolean realtime, boolean readFromTranslog, java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid)
-
Method Summary
Modifier and Type Method Description long
getIfPrimaryTerm()
long
getIfSeqNo()
java.lang.String
id()
boolean
isReadFromTranslog()
boolean
realtime()
Engine.Get
setIfPrimaryTerm(long primaryTerm)
Engine.Get
setIfSeqNo(long seqNo)
java.lang.String
type()
org.apache.lucene.index.Term
uid()
long
version()
Engine.Get
version(long version)
VersionType
versionType()
Engine.Get
versionType(VersionType versionType)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Get
public Get(boolean realtime, boolean readFromTranslog, java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid)
-
-
Method Details
-
realtime
public boolean realtime() -
type
public java.lang.String type() -
id
public java.lang.String id() -
uid
public org.apache.lucene.index.Term uid() -
version
public long version() -
version
-
versionType
-
versionType
-
isReadFromTranslog
public boolean isReadFromTranslog() -
setIfSeqNo
-
getIfSeqNo
public long getIfSeqNo() -
setIfPrimaryTerm
-
getIfPrimaryTerm
public long getIfPrimaryTerm()
-