public static final class ClientPB.MutationProto extends com.google.protobuf.GeneratedMessageLite implements ClientPB.MutationProtoOrBuilder
MutationProto
A specific mutation inside a mutate request. It can be an append, increment, put or delete based on the mutation type. It can be fully filled in or only metadata present because data is being carried elsewhere outside of pb.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientPB.MutationProto.Builder
Protobuf type
MutationProto |
static class |
ClientPB.MutationProto.ColumnValue
Protobuf type
MutationProto.ColumnValue |
static interface |
ClientPB.MutationProto.ColumnValueOrBuilder |
static class |
ClientPB.MutationProto.DeleteType
Protobuf enum
MutationProto.DeleteType |
static class |
ClientPB.MutationProto.Durability
Protobuf enum
MutationProto.Durability |
static class |
ClientPB.MutationProto.MutationType
Protobuf enum
MutationProto.MutationType |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ASSOCIATED_CELL_COUNT_FIELD_NUMBER |
static int |
ATTRIBUTE_FIELD_NUMBER |
static int |
COLUMN_VALUE_FIELD_NUMBER |
static int |
DURABILITY_FIELD_NUMBER |
static int |
MUTATE_TYPE_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientPB.MutationProto> |
PARSER |
static int |
ROW_FIELD_NUMBER |
static int |
TIME_RANGE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 8; |
HBasePB.NameBytesPair |
getAttribute(int index)
repeated .NameBytesPair attribute = 5; |
int |
getAttributeCount()
repeated .NameBytesPair attribute = 5; |
List<HBasePB.NameBytesPair> |
getAttributeList()
repeated .NameBytesPair attribute = 5; |
HBasePB.NameBytesPairOrBuilder |
getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5; |
List<? extends HBasePB.NameBytesPairOrBuilder> |
getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5; |
ClientPB.MutationProto.ColumnValue |
getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3; |
int |
getColumnValueCount()
repeated .MutationProto.ColumnValue column_value = 3; |
List<ClientPB.MutationProto.ColumnValue> |
getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3; |
ClientPB.MutationProto.ColumnValueOrBuilder |
getColumnValueOrBuilder(int index)
repeated .MutationProto.ColumnValue column_value = 3; |
List<? extends ClientPB.MutationProto.ColumnValueOrBuilder> |
getColumnValueOrBuilderList()
repeated .MutationProto.ColumnValue column_value = 3; |
static ClientPB.MutationProto |
getDefaultInstance() |
ClientPB.MutationProto |
getDefaultInstanceForType() |
ClientPB.MutationProto.Durability |
getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
ClientPB.MutationProto.MutationType |
getMutateType()
optional .MutationProto.MutationType mutate_type = 2; |
long |
getNonce()
optional uint64 nonce = 9; |
com.google.protobuf.Parser<ClientPB.MutationProto> |
getParserForType() |
com.google.protobuf.ByteString |
getRow()
optional bytes row = 1; |
int |
getSerializedSize() |
HBasePB.TimeRange |
getTimeRange()
optional .TimeRange time_range = 7; |
long |
getTimestamp()
optional uint64 timestamp = 4; |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 8; |
boolean |
hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
boolean |
hasMutateType()
optional .MutationProto.MutationType mutate_type = 2; |
boolean |
hasNonce()
optional uint64 nonce = 9; |
boolean |
hasRow()
optional bytes row = 1; |
boolean |
hasTimeRange()
optional .TimeRange time_range = 7; |
boolean |
hasTimestamp()
optional uint64 timestamp = 4; |
boolean |
isInitialized() |
static ClientPB.MutationProto.Builder |
newBuilder() |
static ClientPB.MutationProto.Builder |
newBuilder(ClientPB.MutationProto prototype) |
ClientPB.MutationProto.Builder |
newBuilderForType() |
static ClientPB.MutationProto |
parseDelimitedFrom(InputStream input) |
static ClientPB.MutationProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutationProto |
parseFrom(byte[] data) |
static ClientPB.MutationProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutationProto |
parseFrom(com.google.protobuf.ByteString data) |
static ClientPB.MutationProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutationProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientPB.MutationProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutationProto |
parseFrom(InputStream input) |
static ClientPB.MutationProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientPB.MutationProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ClientPB.MutationProto> PARSER
public static final int ROW_FIELD_NUMBER
public static final int MUTATE_TYPE_FIELD_NUMBER
public static final int COLUMN_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER
public static final int DURABILITY_FIELD_NUMBER
public static final int TIME_RANGE_FIELD_NUMBER
public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static ClientPB.MutationProto getDefaultInstance()
public ClientPB.MutationProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ClientPB.MutationProto> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasRow()
optional bytes row = 1;hasRow in interface ClientPB.MutationProtoOrBuilderpublic com.google.protobuf.ByteString getRow()
optional bytes row = 1;getRow in interface ClientPB.MutationProtoOrBuilderpublic boolean hasMutateType()
optional .MutationProto.MutationType mutate_type = 2;hasMutateType in interface ClientPB.MutationProtoOrBuilderpublic ClientPB.MutationProto.MutationType getMutateType()
optional .MutationProto.MutationType mutate_type = 2;getMutateType in interface ClientPB.MutationProtoOrBuilderpublic List<ClientPB.MutationProto.ColumnValue> getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3;getColumnValueList in interface ClientPB.MutationProtoOrBuilderpublic List<? extends ClientPB.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
repeated .MutationProto.ColumnValue column_value = 3;public int getColumnValueCount()
repeated .MutationProto.ColumnValue column_value = 3;getColumnValueCount in interface ClientPB.MutationProtoOrBuilderpublic ClientPB.MutationProto.ColumnValue getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3;getColumnValue in interface ClientPB.MutationProtoOrBuilderpublic ClientPB.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .MutationProto.ColumnValue column_value = 3;public boolean hasTimestamp()
optional uint64 timestamp = 4;hasTimestamp in interface ClientPB.MutationProtoOrBuilderpublic long getTimestamp()
optional uint64 timestamp = 4;getTimestamp in interface ClientPB.MutationProtoOrBuilderpublic List<HBasePB.NameBytesPair> getAttributeList()
repeated .NameBytesPair attribute = 5;getAttributeList in interface ClientPB.MutationProtoOrBuilderpublic List<? extends HBasePB.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5;public int getAttributeCount()
repeated .NameBytesPair attribute = 5;getAttributeCount in interface ClientPB.MutationProtoOrBuilderpublic HBasePB.NameBytesPair getAttribute(int index)
repeated .NameBytesPair attribute = 5;getAttribute in interface ClientPB.MutationProtoOrBuilderpublic HBasePB.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5;public boolean hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];hasDurability in interface ClientPB.MutationProtoOrBuilderpublic ClientPB.MutationProto.Durability getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];getDurability in interface ClientPB.MutationProtoOrBuilderpublic boolean hasTimeRange()
optional .TimeRange time_range = 7;
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
hasTimeRange in interface ClientPB.MutationProtoOrBuilderpublic HBasePB.TimeRange getTimeRange()
optional .TimeRange time_range = 7;
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
getTimeRange in interface ClientPB.MutationProtoOrBuilderpublic boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 8;
The below count is set when the associated cells are NOT part of this protobuf message; they are passed alongside and then this Message is a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
hasAssociatedCellCount in interface ClientPB.MutationProtoOrBuilderpublic int getAssociatedCellCount()
optional int32 associated_cell_count = 8;
The below count is set when the associated cells are NOT part of this protobuf message; they are passed alongside and then this Message is a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
getAssociatedCellCount in interface ClientPB.MutationProtoOrBuilderpublic boolean hasNonce()
optional uint64 nonce = 9;hasNonce in interface ClientPB.MutationProtoOrBuilderpublic long getNonce()
optional uint64 nonce = 9;getNonce in interface ClientPB.MutationProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutationProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.MutationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutationProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.MutationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutationProto.Builder newBuilder()
public ClientPB.MutationProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientPB.MutationProto.Builder newBuilder(ClientPB.MutationProto prototype)
public ClientPB.MutationProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors