public static final class ClientProtos.MutationProto extends com.google.protobuf.GeneratedMessage implements ClientProtos.MutationProtoOrBuilder
hbase.pb.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.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ClientProtos.MutationProto.Builder
Protobuf type
hbase.pb.MutationProto
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 |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 限定符和类型 | 字段和说明 |
|---|---|
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<ClientProtos.MutationProto> |
PARSER |
static int |
ROW_FIELD_NUMBER |
static int |
TIME_RANGE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
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. |
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 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; |
com.google.protobuf.Parser<ClientProtos.MutationProto> |
getParserForType() |
com.google.protobuf.ByteString |
getRow()
optional bytes row = 1; |
int |
getSerializedSize() |
HBaseProtos.TimeRange |
getTimeRange()
optional .hbase.pb.TimeRange time_range = 7;
For some mutations, a result may be returned, in which case,
time range can be specified for potential performance gain
|
HBaseProtos.TimeRangeOrBuilder |
getTimeRangeOrBuilder()
optional .hbase.pb.TimeRange time_range = 7;
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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. |
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()
optional .hbase.pb.TimeRange time_range = 7;
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 com.google.protobuf.GeneratedMessage.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(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.MutationProto |
parseDelimitedFrom(InputStream input) |
static ClientProtos.MutationProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(byte[] data) |
static ClientProtos.MutationProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.MutationProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.MutationProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.MutationProto |
parseFrom(InputStream input) |
static ClientProtos.MutationProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.MutationProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<ClientProtos.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 ClientProtos.MutationProto getDefaultInstance()
public ClientProtos.MutationProto getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ClientProtos.MutationProto> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasRow()
optional bytes row = 1;hasRow 在接口中 ClientProtos.MutationProtoOrBuilderpublic com.google.protobuf.ByteString getRow()
optional bytes row = 1;getRow 在接口中 ClientProtos.MutationProtoOrBuilderpublic boolean hasMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2;public ClientProtos.MutationProto.MutationType getMutateType()
optional .hbase.pb.MutationProto.MutationType mutate_type = 2;public List<ClientProtos.MutationProto.ColumnValue> getColumnValueList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;public List<? extends ClientProtos.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;public int getColumnValueCount()
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;public ClientProtos.MutationProto.ColumnValue getColumnValue(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;public ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .hbase.pb.MutationProto.ColumnValue column_value = 3;public boolean hasTimestamp()
optional uint64 timestamp = 4;public long getTimestamp()
optional uint64 timestamp = 4;public List<HBaseProtos.NameBytesPair> getAttributeList()
repeated .hbase.pb.NameBytesPair attribute = 5;public List<? extends HBaseProtos.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .hbase.pb.NameBytesPair attribute = 5;public int getAttributeCount()
repeated .hbase.pb.NameBytesPair attribute = 5;public HBaseProtos.NameBytesPair getAttribute(int index)
repeated .hbase.pb.NameBytesPair attribute = 5;public HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .hbase.pb.NameBytesPair attribute = 5;public boolean hasDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT];public ClientProtos.MutationProto.Durability getDurability()
optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT];public boolean hasTimeRange()
optional .hbase.pb.TimeRange time_range = 7;
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
public HBaseProtos.TimeRange getTimeRange()
optional .hbase.pb.TimeRange time_range = 7;
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
public HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder()
optional .hbase.pb.TimeRange time_range = 7;
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
public 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.
public 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.
public boolean hasNonce()
optional uint64 nonce = 9;hasNonce 在接口中 ClientProtos.MutationProtoOrBuilderpublic long getNonce()
optional uint64 nonce = 9;getNonce 在接口中 ClientProtos.MutationProtoOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ClientProtos.MutationProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.MutationProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientProtos.MutationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.MutationProto.Builder newBuilder()
public ClientProtos.MutationProto.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ClientProtos.MutationProto.Builder newBuilder(ClientProtos.MutationProto prototype)
public ClientProtos.MutationProto.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ClientProtos.MutationProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2007–2019. All rights reserved.