|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto
public static final class ClientProtos.MutationProto
Protobuf type 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.
| Nested Class Summary | |
|---|---|
static class |
ClientProtos.MutationProto.Builder
Protobuf type MutationProto |
static class |
ClientProtos.MutationProto.ColumnValue
Protobuf type MutationProto.ColumnValue |
static interface |
ClientProtos.MutationProto.ColumnValueOrBuilder
|
static class |
ClientProtos.MutationProto.DeleteType
Protobuf enum MutationProto.DeleteType |
static class |
ClientProtos.MutationProto.Durability
Protobuf enum MutationProto.Durability |
static class |
ClientProtos.MutationProto.MutationType
Protobuf enum MutationProto.MutationType |
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
|---|
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> |
| Field Summary | |
|---|---|
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 com.google.protobuf.Parser<ClientProtos.MutationProto> |
PARSER
|
static int |
ROW_FIELD_NUMBER
|
static int |
TIME_RANGE_FIELD_NUMBER
|
static int |
TIMESTAMP_FIELD_NUMBER
|
| Fields inherited from class com.google.protobuf.GeneratedMessage |
|---|
alwaysUseFieldBuilders |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 8; |
HBaseProtos.NameBytesPair |
getAttribute(int index)
repeated .NameBytesPair attribute = 5; |
int |
getAttributeCount()
repeated .NameBytesPair attribute = 5; |
List<HBaseProtos.NameBytesPair> |
getAttributeList()
repeated .NameBytesPair attribute = 5; |
HBaseProtos.NameBytesPairOrBuilder |
getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5; |
List<? extends HBaseProtos.NameBytesPairOrBuilder> |
getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5; |
ClientProtos.MutationProto.ColumnValue |
getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3; |
int |
getColumnValueCount()
repeated .MutationProto.ColumnValue column_value = 3; |
List<ClientProtos.MutationProto.ColumnValue> |
getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3; |
ClientProtos.MutationProto.ColumnValueOrBuilder |
getColumnValueOrBuilder(int index)
repeated .MutationProto.ColumnValue column_value = 3; |
List<? extends ClientProtos.MutationProto.ColumnValueOrBuilder> |
getColumnValueOrBuilderList()
repeated .MutationProto.ColumnValue column_value = 3; |
static ClientProtos.MutationProto |
getDefaultInstance()
|
ClientProtos.MutationProto |
getDefaultInstanceForType()
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
|
ClientProtos.MutationProto.Durability |
getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
ClientProtos.MutationProto.MutationType |
getMutateType()
optional .MutationProto.MutationType mutate_type = 2; |
com.google.protobuf.Parser<ClientProtos.MutationProto> |
getParserForType()
|
com.google.protobuf.ByteString |
getRow()
optional bytes row = 1; |
int |
getSerializedSize()
|
HBaseProtos.TimeRange |
getTimeRange()
optional .TimeRange time_range = 7; |
HBaseProtos.TimeRangeOrBuilder |
getTimeRangeOrBuilder()
optional .TimeRange time_range = 7; |
long |
getTimestamp()
optional uint64 timestamp = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
|
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 8; |
boolean |
hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT]; |
int |
hashCode()
|
boolean |
hasMutateType()
optional .MutationProto.MutationType mutate_type = 2; |
boolean |
hasRow()
optional bytes row = 1; |
boolean |
hasTimeRange()
optional .TimeRange time_range = 7; |
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)
|
| Methods inherited from class com.google.protobuf.GeneratedMessage |
|---|
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessage |
|---|
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
|---|
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField |
| Methods inherited from interface com.google.protobuf.MessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Field Detail |
|---|
public 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
| Method Detail |
|---|
public static ClientProtos.MutationProto getDefaultInstance()
public ClientProtos.MutationProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ClientProtos.MutationProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasRow()
optional bytes row = 1;
hasRow in interface ClientProtos.MutationProtoOrBuilderpublic com.google.protobuf.ByteString getRow()
optional bytes row = 1;
getRow in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasMutateType()
optional .MutationProto.MutationType mutate_type = 2;
hasMutateType in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.MutationType getMutateType()
optional .MutationProto.MutationType mutate_type = 2;
getMutateType in interface ClientProtos.MutationProtoOrBuilderpublic List<ClientProtos.MutationProto.ColumnValue> getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValueList in interface ClientProtos.MutationProtoOrBuilderpublic List<? extends ClientProtos.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValueOrBuilderList in interface ClientProtos.MutationProtoOrBuilderpublic int getColumnValueCount()
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValueCount in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.ColumnValue getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3;
getColumnValue in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .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 .NameBytesPair attribute = 5;
getAttributeList in interface ClientProtos.MutationProtoOrBuilderpublic List<? extends HBaseProtos.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5;
getAttributeOrBuilderList in interface ClientProtos.MutationProtoOrBuilderpublic int getAttributeCount()
repeated .NameBytesPair attribute = 5;
getAttributeCount in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.NameBytesPair getAttribute(int index)
repeated .NameBytesPair attribute = 5;
getAttribute in interface ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5;
getAttributeOrBuilder in interface ClientProtos.MutationProtoOrBuilderpublic boolean hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
hasDurability in interface ClientProtos.MutationProtoOrBuilderpublic ClientProtos.MutationProto.Durability getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
getDurability in interface ClientProtos.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 ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.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 ClientProtos.MutationProtoOrBuilderpublic HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder()
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
getTimeRangeOrBuilder in interface ClientProtos.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 ClientProtos.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 ClientProtos.MutationProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessage
protected Object writeReplace()
throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessage
public static ClientProtos.MutationProto parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.MutationProto parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.MutationProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.MutationProto parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.MutationProto parseFrom(InputStream input)
throws IOException
IOException
public static ClientProtos.MutationProto parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static ClientProtos.MutationProto parseDelimitedFrom(InputStream input)
throws IOException
IOException
public static ClientProtos.MutationProto parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static ClientProtos.MutationProto parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
IOException
public 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 in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientProtos.MutationProto.Builder newBuilder(ClientProtos.MutationProto prototype)
public ClientProtos.MutationProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClientProtos.MutationProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||