public abstract static class Engine.IndexingOperation extends Object implements Engine.Operation
Engine.Operation.Origin, Engine.Operation.Type| コンストラクタと説明 |
|---|
IndexingOperation(org.apache.lucene.index.Term uid,
ParsedDocument doc) |
IndexingOperation(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime,
boolean canHaveDuplicates) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canHaveDuplicates() |
List<ParseContext.Document> |
docs() |
long |
endTime()
Returns operation end time in nanoseconds.
|
void |
endTime(long endTime) |
abstract boolean |
execute(IndexShard shard)
Execute this operation against the provided
IndexShard and
return whether the document was created. |
Translog.Location |
getTranslogLocation() |
String |
id() |
Engine.Operation.Origin |
origin() |
String |
parent() |
ParsedDocument |
parsedDoc() |
String |
routing() |
void |
setTranslogLocation(Translog.Location location) |
BytesReference |
source() |
long |
startTime()
Returns operation start time in nanoseconds.
|
long |
timestamp() |
long |
ttl() |
String |
type() |
org.apache.lucene.index.Term |
uid() |
void |
updateVersion(long version) |
long |
version() |
VersionType |
versionType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopTypepublic IndexingOperation(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime,
boolean canHaveDuplicates)
public IndexingOperation(org.apache.lucene.index.Term uid,
ParsedDocument doc)
public Engine.Operation.Origin origin()
origin インタフェース内 Engine.Operationpublic ParsedDocument parsedDoc()
public org.apache.lucene.index.Term uid()
public String type()
public String id()
public String routing()
public long timestamp()
public long ttl()
public long version()
public void updateVersion(long version)
public void setTranslogLocation(Translog.Location location)
public Translog.Location getTranslogLocation()
public VersionType versionType()
public boolean canHaveDuplicates()
public String parent()
public List<ParseContext.Document> docs()
public BytesReference source()
public long startTime()
startTime インタフェース内 Engine.Operationpublic void endTime(long endTime)
public long endTime()
public abstract boolean execute(IndexShard shard)
IndexShard and
return whether the document was created.Copyright © 2009–2016. All rights reserved.