public static interface Kv.EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
Kv.KeyValue |
getKv()
kv holds the KeyValue for the event.
|
Kv.KeyValueOrBuilder |
getKvOrBuilder()
kv holds the KeyValue for the event.
|
Kv.KeyValue |
getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
Kv.KeyValueOrBuilder |
getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
|
Kv.Event.EventType |
getType()
type is the kind of event.
|
int |
getTypeValue()
type is the kind of event.
|
boolean |
hasKv()
kv holds the KeyValue for the event.
|
boolean |
hasPrevKv()
prev_kv holds the key-value pair before the event happens.
|
int getTypeValue()
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
.mvccpb.Event.EventType type = 1;Kv.Event.EventType getType()
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
.mvccpb.Event.EventType type = 1;boolean hasKv()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;Kv.KeyValue getKv()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;Kv.KeyValueOrBuilder getKvOrBuilder()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;boolean hasPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;Kv.KeyValue getPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;Kv.KeyValueOrBuilder getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;Copyright © 2018. All rights reserved.