public static final class ClientProtos.Result extends com.google.protobuf.GeneratedMessage implements ClientProtos.ResultOrBuilder
hbase.pb.Result| Modifier and Type | Class and Description |
|---|---|
static class |
ClientProtos.Result.Builder
Protobuf type
hbase.pb.Result |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASSOCIATED_CELL_COUNT_FIELD_NUMBER |
static int |
CELL_FIELD_NUMBER |
static int |
EXISTS_FIELD_NUMBER |
static <any> |
PARSER |
static int |
PARTIAL_FIELD_NUMBER |
static int |
STALE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 2; |
CellProtos.Cell |
getCell(int index)
repeated .hbase.pb.Cell cell = 1; |
int |
getCellCount()
repeated .hbase.pb.Cell cell = 1; |
java.util.List<CellProtos.Cell> |
getCellList()
repeated .hbase.pb.Cell cell = 1; |
CellProtos.CellOrBuilder |
getCellOrBuilder(int index)
repeated .hbase.pb.Cell cell = 1; |
java.util.List<? extends CellProtos.CellOrBuilder> |
getCellOrBuilderList()
repeated .hbase.pb.Cell cell = 1; |
static ClientProtos.Result |
getDefaultInstance() |
ClientProtos.Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getExists()
optional bool exists = 3; |
<any> |
getParserForType() |
boolean |
getPartial()
optional bool partial = 5 [default = false]; |
int |
getSerializedSize() |
boolean |
getStale()
optional bool stale = 4 [default = false]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 2; |
boolean |
hasExists()
optional bool exists = 3; |
int |
hashCode() |
boolean |
hasPartial()
optional bool partial = 5 [default = false]; |
boolean |
hasStale()
optional bool stale = 4 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.Result.Builder |
newBuilder() |
static ClientProtos.Result.Builder |
newBuilder(ClientProtos.Result prototype) |
ClientProtos.Result.Builder |
newBuilderForType() |
protected ClientProtos.Result.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.Result |
parseDelimitedFrom(java.io.InputStream input) |
static ClientProtos.Result |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.Result.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int CELL_FIELD_NUMBER
public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
public static final int EXISTS_FIELD_NUMBER
public static final int STALE_FIELD_NUMBER
public static final int PARTIAL_FIELD_NUMBER
public static ClientProtos.Result getDefaultInstance()
public ClientProtos.Result getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public java.util.List<CellProtos.Cell> getCellList()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellList in interface ClientProtos.ResultOrBuilderpublic java.util.List<? extends CellProtos.CellOrBuilder> getCellOrBuilderList()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilderList in interface ClientProtos.ResultOrBuilderpublic int getCellCount()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellCount in interface ClientProtos.ResultOrBuilderpublic CellProtos.Cell getCell(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCell in interface ClientProtos.ResultOrBuilderpublic CellProtos.CellOrBuilder getCellOrBuilder(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilder in interface ClientProtos.ResultOrBuilderpublic boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 2;
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 just 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.ResultOrBuilderpublic int getAssociatedCellCount()
optional int32 associated_cell_count = 2;
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 just 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.ResultOrBuilderpublic boolean hasExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
hasExists in interface ClientProtos.ResultOrBuilderpublic boolean getExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
getExists in interface ClientProtos.ResultOrBuilderpublic boolean hasStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
hasStale in interface ClientProtos.ResultOrBuilderpublic boolean getStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
getStale in interface ClientProtos.ResultOrBuilderpublic boolean hasPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result
hasPartial in interface ClientProtos.ResultOrBuilderpublic boolean getPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result
getPartial in interface ClientProtos.ResultOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic boolean equals(java.lang.Object obj)
public int hashCode()
public static ClientProtos.Result parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.Result parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.Result parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.Result parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClientProtos.Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClientProtos.Result parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClientProtos.Result parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClientProtos.Result parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClientProtos.Result.Builder newBuilder()
public ClientProtos.Result.Builder newBuilderForType()
public static ClientProtos.Result.Builder newBuilder(ClientProtos.Result prototype)
public ClientProtos.Result.Builder toBuilder()
protected ClientProtos.Result.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)