public static final class ClientProtos.MutationProto extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements ClientProtos.MutationProtoOrBuilder
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.Protobuf type
hbase.pb.MutationProto| Modifier and Type | Class and Description |
|---|---|
static class |
ClientProtos.MutationProto.Builder
A specific mutation inside a mutate request.
|
static class |
ClientProtos.MutationProto.ColumnValue
Protobuf type
hbase.pb.MutationProto.ColumnValue |
static interface |
ClientProtos.MutationProto.ColumnValueOrBuilder |
static class |
ClientProtos.MutationProto.DeleteType
Protobuf enum
hbase.pb.MutationProto.DeleteType |
static class |
ClientProtos.MutationProto.Durability
Protobuf enum
hbase.pb.MutationProto.Durability |
static class |
ClientProtos.MutationProto.MutationType
Protobuf enum
hbase.pb.MutationProto.MutationType |
org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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 org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> |
PARSER
Deprecated.
|
static int |
ROW_FIELD_NUMBER |
static int |
TIME_RANGE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAssociatedCellCount()
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.
|
HBaseProtos.NameBytesPair |
getAttribute(int index)
repeated .hbase.pb.NameBytesPair attribute = 5; |
int |
getAttributeCount()
repeated .hbase.pb.NameBytesPair attribute = 5; |
List<HBaseProtos.NameBytesPair> |
getAttributeList()
repeated .hbase.pb.NameBytesPair attribute = 5; |
HBaseProtos.NameBytesPairOrBuilder |
getAttributeOrBuilder(int index)
repeated .hbase.pb.NameBytesPair attribute = 5; |
List<? extends HBaseProtos.NameBytesPairOrBuilder> |
getAttributeOrBuilderList()
repeated .hbase.pb.NameBytesPair attribute = 5; |
ClientProtos.MutationProto.ColumnValue |
getColumnValue(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; |
int |
getColumnValueCount()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; |
List<ClientProtos.MutationProto.ColumnValue> |
getColumnValueList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; |
ClientProtos.MutationProto.ColumnValueOrBuilder |
getColumnValueOrBuilder(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; |
List<? extends ClientProtos.MutationProto.ColumnValueOrBuilder> |
getColumnValueOrBuilderList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; |
static ClientProtos.MutationProto |
getDefaultInstance() |
ClientProtos.MutationProto |
getDefaultInstanceForType() |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ClientProtos.MutationProto.Durability |
getDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
ClientProtos.MutationProto.MutationType |
getMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2; |
long |
getNonce()
optional uint64 nonce = 9; |
org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> |
getParserForType() |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getRow()
optional bytes row = 1; |
int |
getSerializedSize() |
HBaseProtos.TimeRange |
getTimeRange()
For some mutations, a result may be returned, in which case,
time range can be specified for potential performance gain
|
HBaseProtos.TimeRangeOrBuilder |
getTimeRangeOrBuilder()
For some mutations, a result may be returned, in which case,
time range can be specified for potential performance gain
|
long |
getTimestamp()
optional uint64 timestamp = 4; |
org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAssociatedCellCount()
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.
|
boolean |
hasDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
int |
hashCode() |
boolean |
hasMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2; |
boolean |
hasNonce()
optional uint64 nonce = 9; |
boolean |
hasRow()
optional bytes row = 1; |
boolean |
hasTimeRange()
For some mutations, a result may be returned, in which case,
time range can be specified for potential performance gain
|
boolean |
hasTimestamp()
optional uint64 timestamp = 4; |
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.MutationProto.Builder |
newBuilder() |
static ClientProtos.MutationProto.Builder |
newBuilder(ClientProtos.MutationProto prototype) |
ClientProtos.MutationProto.Builder |
newBuilderForType() |
protected ClientProtos.MutationProto.Builder |
newBuilderForType(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ClientProtos.MutationProto |
parseDelimitedFrom(InputStream input) |
static ClientProtos.MutationProto |
parseDelimitedFrom(InputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(byte[] data) |
static ClientProtos.MutationProto |
parseFrom(byte[] data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(ByteBuffer data) |
static ClientProtos.MutationProto |
parseFrom(ByteBuffer data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) |
static ClientProtos.MutationProto |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) |
static ClientProtos.MutationProto |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(InputStream input) |
static ClientProtos.MutationProto |
parseFrom(InputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> |
parser() |
ClientProtos.MutationProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
@Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> PARSER
public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public boolean hasRow()
optional bytes row = 1;hasRow in interface ClientProtos.MutationProtoOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getRow()
optional bytes row = 1;getRow in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2;hasMutateType in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.MutationType getMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2;getMutateType in interface ClientProtos.MutationProtoOrBuilderpublic List<ClientProtos.MutationProto.ColumnValue> getColumnValueList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;getColumnValueList in interface ClientProtos.MutationProtoOrBuilderpublic List<? extends ClientProtos.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;getColumnValueOrBuilderList in interface ClientProtos.MutationProtoOrBuilderpublic int getColumnValueCount()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;getColumnValueCount in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.ColumnValue getColumnValue(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;getColumnValue in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;getColumnValueOrBuilder in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasTimestamp()
optional uint64 timestamp = 4;hasTimestamp in interface ClientProtos.MutationProtoOrBuilderpublic long getTimestamp()
optional uint64 timestamp = 4;getTimestamp in interface ClientProtos.MutationProtoOrBuilderpublic List<HBaseProtos.NameBytesPair> getAttributeList()
repeated .hbase.pb.NameBytesPair attribute = 5;getAttributeList in interface ClientProtos.MutationProtoOrBuilderpublic List<? extends HBaseProtos.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .hbase.pb.NameBytesPair attribute = 5;getAttributeOrBuilderList in interface ClientProtos.MutationProtoOrBuilderpublic int getAttributeCount()
repeated .hbase.pb.NameBytesPair attribute = 5;getAttributeCount in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.NameBytesPair getAttribute(int index)
repeated .hbase.pb.NameBytesPair attribute = 5;getAttribute in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .hbase.pb.NameBytesPair attribute = 5;getAttributeOrBuilder in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT];hasDurability in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.Durability getDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT];getDurability in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasTimeRange()
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
optional .hbase.pb.TimeRange time_range = 7;hasTimeRange in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.TimeRange getTimeRange()
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
optional .hbase.pb.TimeRange time_range = 7;getTimeRange in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder()
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
optional .hbase.pb.TimeRange time_range = 7;getTimeRangeOrBuilder in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasAssociatedCellCount()
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.
optional int32 associated_cell_count = 8;hasAssociatedCellCount in interface ClientProtos.MutationProtoOrBuilderpublic int getAssociatedCellCount()
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.
optional int32 associated_cell_count = 8;getAssociatedCellCount in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasNonce()
optional uint64 nonce = 9;hasNonce in interface ClientProtos.MutationProtoOrBuilderpublic long getNonce()
optional uint64 nonce = 9;getNonce in interface ClientProtos.MutationProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitewriteTo in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitegetSerializedSize in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hbase.thirdparty.com.google.protobuf.Messageequals in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagehashCode in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessagepublic static ClientProtos.MutationProto parseFrom(ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseDelimitedFrom(InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClientProtos.MutationProto.Builder newBuilderForType()
newBuilderForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagenewBuilderForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitepublic static ClientProtos.MutationProto.Builder newBuilder()
public static ClientProtos.MutationProto.Builder newBuilder(ClientProtos.MutationProto prototype)
public ClientProtos.MutationProto.Builder toBuilder()
toBuilder in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagetoBuilder in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteprotected ClientProtos.MutationProto.Builder newBuilderForType(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public static ClientProtos.MutationProto getDefaultInstance()
public static org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> parser()
public org.apache.hbase.thirdparty.com.google.protobuf.Parser<ClientProtos.MutationProto> getParserForType()
getParserForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagegetParserForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitegetParserForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public ClientProtos.MutationProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilderCopyright © 2007–2019 Cloudera. All rights reserved.