public static class Engine.Delete extends Object implements Engine.Operation
Engine.Operation.Origin, Engine.Operation.Type| コンストラクタと説明 |
|---|
Delete(Engine.Delete template,
VersionType versionType) |
Delete(String type,
String id,
org.apache.lucene.index.Term uid) |
Delete(String type,
String id,
org.apache.lucene.index.Term uid,
long version,
VersionType versionType,
Engine.Operation.Origin origin,
long startTime,
boolean found) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
endTime()
Returns operation end time in nanoseconds.
|
void |
endTime(long endTime) |
boolean |
found() |
Translog.Location |
getTranslogLocation() |
String |
id() |
Engine.Operation.Type |
opType() |
Engine.Operation.Origin |
origin() |
void |
setTranslogLocation(Translog.Location location) |
long |
startTime()
Returns operation start time in nanoseconds.
|
String |
type() |
org.apache.lucene.index.Term |
uid() |
void |
updateVersion(long version,
boolean found) |
long |
version()
before delete execution this is the version to be deleted.
|
VersionType |
versionType() |
public Delete(String type, String id, org.apache.lucene.index.Term uid, long version, VersionType versionType, Engine.Operation.Origin origin, long startTime, boolean found)
public Delete(Engine.Delete template, VersionType versionType)
public Engine.Operation.Type opType()
opType インタフェース内 Engine.Operationpublic Engine.Operation.Origin origin()
origin インタフェース内 Engine.Operationpublic String type()
public String id()
public org.apache.lucene.index.Term uid()
public void updateVersion(long version,
boolean found)
public long version()
public VersionType versionType()
public boolean found()
public long startTime()
startTime インタフェース内 Engine.Operationpublic void endTime(long endTime)
public long endTime()
public void setTranslogLocation(Translog.Location location)
public Translog.Location getTranslogLocation()
Copyright © 2009–2016. All rights reserved.