public static final class ClientPB.MutationProto extends com.google.protobuf.GeneratedMessageLite<ClientPB.MutationProto,ClientPB.MutationProto.Builder> implements ClientPB.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
MutationProto
Modifier and Type | Class and Description |
---|---|
static class |
ClientPB.MutationProto.Builder
A specific mutation inside a mutate request.
|
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.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor
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 int |
ROW_FIELD_NUMBER |
static int |
TIME_RANGE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
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.
|
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.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.ByteString |
getRow()
optional bytes row = 1; |
int |
getSerializedSize() |
HBasePB.TimeRange |
getTimeRange()
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; |
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 .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()
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; |
static ClientPB.MutationProto.Builder |
newBuilder() |
static ClientPB.MutationProto.Builder |
newBuilder(ClientPB.MutationProto prototype) |
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(ByteBuffer data) |
static ClientPB.MutationProto |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<ClientPB.MutationProto> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
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 boolean hasRow()
optional bytes row = 1;
hasRow
in interface ClientPB.MutationProtoOrBuilder
public com.google.protobuf.ByteString getRow()
optional bytes row = 1;
getRow
in interface ClientPB.MutationProtoOrBuilder
public boolean hasMutateType()
optional .MutationProto.MutationType mutate_type = 2;
hasMutateType
in interface ClientPB.MutationProtoOrBuilder
public ClientPB.MutationProto.MutationType getMutateType()
optional .MutationProto.MutationType mutate_type = 2;
getMutateType
in interface ClientPB.MutationProtoOrBuilder
public List<ClientPB.MutationProto.ColumnValue> getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValueList
in interface ClientPB.MutationProtoOrBuilder
public 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.MutationProtoOrBuilder
public ClientPB.MutationProto.ColumnValue getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValue
in interface ClientPB.MutationProtoOrBuilder
public ClientPB.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .MutationProto.ColumnValue column_value = 3;
public boolean hasTimestamp()
optional uint64 timestamp = 4;
hasTimestamp
in interface ClientPB.MutationProtoOrBuilder
public long getTimestamp()
optional uint64 timestamp = 4;
getTimestamp
in interface ClientPB.MutationProtoOrBuilder
public List<HBasePB.NameBytesPair> getAttributeList()
repeated .NameBytesPair attribute = 5;
getAttributeList
in interface ClientPB.MutationProtoOrBuilder
public List<? extends HBasePB.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5;
public int getAttributeCount()
repeated .NameBytesPair attribute = 5;
getAttributeCount
in interface ClientPB.MutationProtoOrBuilder
public HBasePB.NameBytesPair getAttribute(int index)
repeated .NameBytesPair attribute = 5;
getAttribute
in interface ClientPB.MutationProtoOrBuilder
public HBasePB.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5;
public boolean hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
hasDurability
in interface ClientPB.MutationProtoOrBuilder
public ClientPB.MutationProto.Durability getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
getDurability
in interface ClientPB.MutationProtoOrBuilder
public boolean hasTimeRange()
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
optional .TimeRange time_range = 7;
hasTimeRange
in interface ClientPB.MutationProtoOrBuilder
public HBasePB.TimeRange getTimeRange()
For some mutations, a result may be returned, in which case, time range can be specified for potential performance gain
optional .TimeRange time_range = 7;
getTimeRange
in interface ClientPB.MutationProtoOrBuilder
public 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 ClientPB.MutationProtoOrBuilder
public 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 ClientPB.MutationProtoOrBuilder
public boolean hasNonce()
optional uint64 nonce = 9;
hasNonce
in interface ClientPB.MutationProtoOrBuilder
public long getNonce()
optional uint64 nonce = 9;
getNonce
in interface ClientPB.MutationProtoOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
public static ClientPB.MutationProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.MutationProto parseFrom(InputStream input) throws IOException
IOException
public static ClientPB.MutationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.MutationProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientPB.MutationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.MutationProto.Builder newBuilder()
public static ClientPB.MutationProto.Builder newBuilder(ClientPB.MutationProto prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod
in class com.google.protobuf.GeneratedMessageLite<ClientPB.MutationProto,ClientPB.MutationProto.Builder>
public static ClientPB.MutationProto getDefaultInstance()
public static com.google.protobuf.Parser<ClientPB.MutationProto> parser()
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.