public static final class Engine.Create extends Engine.IndexingOperation
Engine.Operation.Origin, Engine.Operation.Type| コンストラクタと説明 |
|---|
Create(org.apache.lucene.index.Term uid,
ParsedDocument doc) |
Create(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime) |
Create(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime,
boolean canHaveDuplicates,
boolean autoGeneratedId) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
autoGeneratedId() |
boolean |
execute(IndexShard shard)
Execute this operation against the provided
IndexShard and
return whether the document was created. |
Engine.Operation.Type |
opType() |
canHaveDuplicates, docs, endTime, endTime, getTranslogLocation, id, origin, parent, parsedDoc, routing, setTranslogLocation, source, startTime, timestamp, ttl, type, uid, updateVersion, version, versionTypepublic Create(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime,
boolean canHaveDuplicates,
boolean autoGeneratedId)
public Create(org.apache.lucene.index.Term uid,
ParsedDocument doc,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime)
public Create(org.apache.lucene.index.Term uid,
ParsedDocument doc)
public Engine.Operation.Type opType()
public boolean autoGeneratedId()
public boolean execute(IndexShard shard)
Engine.IndexingOperationIndexShard and
return whether the document was created.execute クラス内 Engine.IndexingOperationCopyright © 2009–2016. All rights reserved.