public static final class AdminProtos.WALEntry extends com.google.protobuf.GeneratedMessage implements AdminProtos.WALEntryOrBuilder
hbase.pb.WALEntry
Protocol buffer version of WAL for replication
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AdminProtos.WALEntry.Builder
Protobuf type
hbase.pb.WALEntry
Protocol buffer version of WAL for replication
|
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 |
KEY_FIELD_NUMBER |
static int |
KEY_VALUE_BYTES_FIELD_NUMBER |
static com.google.protobuf.Parser<AdminProtos.WALEntry> |
PARSER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock. |
static AdminProtos.WALEntry |
getDefaultInstance() |
AdminProtos.WALEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WALProtos.WALKey |
getKey()
required .hbase.pb.WALKey key = 1; |
WALProtos.WALKeyOrBuilder |
getKeyOrBuilder()
required .hbase.pb.WALKey key = 1; |
com.google.protobuf.ByteString |
getKeyValueBytes(int index)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See
RPC for more on cellblocks). |
int |
getKeyValueBytesCount()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See
RPC for more on cellblocks). |
List<com.google.protobuf.ByteString> |
getKeyValueBytesList()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See
RPC for more on cellblocks). |
com.google.protobuf.Parser<AdminProtos.WALEntry> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock. |
int |
hashCode() |
boolean |
hasKey()
required .hbase.pb.WALKey key = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AdminProtos.WALEntry.Builder |
newBuilder() |
static AdminProtos.WALEntry.Builder |
newBuilder(AdminProtos.WALEntry prototype) |
AdminProtos.WALEntry.Builder |
newBuilderForType() |
protected AdminProtos.WALEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static AdminProtos.WALEntry |
parseDelimitedFrom(InputStream input) |
static AdminProtos.WALEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdminProtos.WALEntry |
parseFrom(byte[] data) |
static AdminProtos.WALEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdminProtos.WALEntry |
parseFrom(com.google.protobuf.ByteString data) |
static AdminProtos.WALEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdminProtos.WALEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdminProtos.WALEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdminProtos.WALEntry |
parseFrom(InputStream input) |
static AdminProtos.WALEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdminProtos.WALEntry.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<AdminProtos.WALEntry> PARSER
public static final int KEY_FIELD_NUMBER
public static final int KEY_VALUE_BYTES_FIELD_NUMBER
public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
public static AdminProtos.WALEntry getDefaultInstance()
public AdminProtos.WALEntry 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<AdminProtos.WALEntry> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasKey()
required .hbase.pb.WALKey key = 1;hasKey 在接口中 AdminProtos.WALEntryOrBuilderpublic WALProtos.WALKey getKey()
required .hbase.pb.WALKey key = 1;getKey 在接口中 AdminProtos.WALEntryOrBuilderpublic WALProtos.WALKeyOrBuilder getKeyOrBuilder()
required .hbase.pb.WALKey key = 1;getKeyOrBuilder 在接口中 AdminProtos.WALEntryOrBuilderpublic List<com.google.protobuf.ByteString> getKeyValueBytesList()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public int getKeyValueBytesCount()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public com.google.protobuf.ByteString getKeyValueBytes(int index)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
public int getAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
public 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 AdminProtos.WALEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdminProtos.WALEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdminProtos.WALEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdminProtos.WALEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdminProtos.WALEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdminProtos.WALEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdminProtos.WALEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdminProtos.WALEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdminProtos.WALEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdminProtos.WALEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdminProtos.WALEntry.Builder newBuilder()
public AdminProtos.WALEntry.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static AdminProtos.WALEntry.Builder newBuilder(AdminProtos.WALEntry prototype)
public AdminProtos.WALEntry.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected AdminProtos.WALEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2007–2019. All rights reserved.