public static final class WALProtos.CompactionDescriptor extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements WALProtos.CompactionDescriptorOrBuilder
Special WAL entry to hold all related to a compaction. Written to WAL before completing compaction. There is sufficient info in the below message to complete later the * compaction should we fail the WAL write.Protobuf type
hbase.pb.CompactionDescriptor| Modifier and Type | Class and Description |
|---|---|
static class |
WALProtos.CompactionDescriptor.Builder
Special WAL entry to hold all related to a compaction.
|
org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COMPACTION_INPUT_FIELD_NUMBER |
static int |
COMPACTION_OUTPUT_FIELD_NUMBER |
static int |
ENCODED_REGION_NAME_FIELD_NUMBER |
static int |
FAMILY_NAME_FIELD_NUMBER |
static org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> |
PARSER
Deprecated.
|
static int |
REGION_NAME_FIELD_NUMBER |
static int |
STORE_HOME_DIR_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCompactionInput(int index)
relative to store dir
|
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getCompactionInputBytes(int index)
relative to store dir
|
int |
getCompactionInputCount()
relative to store dir
|
org.apache.hbase.thirdparty.com.google.protobuf.ProtocolStringList |
getCompactionInputList()
relative to store dir
|
String |
getCompactionOutput(int index)
repeated string compaction_output = 5; |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getCompactionOutputBytes(int index)
repeated string compaction_output = 5; |
int |
getCompactionOutputCount()
repeated string compaction_output = 5; |
org.apache.hbase.thirdparty.com.google.protobuf.ProtocolStringList |
getCompactionOutputList()
repeated string compaction_output = 5; |
static WALProtos.CompactionDescriptor |
getDefaultInstance() |
WALProtos.CompactionDescriptor |
getDefaultInstanceForType() |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getEncodedRegionName()
required bytes encoded_region_name = 2; |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getFamilyName()
required bytes family_name = 3; |
org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> |
getParserForType() |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getRegionName()
full region name
|
int |
getSerializedSize() |
String |
getStoreHomeDir()
relative to region dir
|
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getStoreHomeDirBytes()
relative to region dir
|
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
getTableName()
TODO: WALKey already stores these, might remove
|
org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 2; |
boolean |
hasFamilyName()
required bytes family_name = 3; |
int |
hashCode() |
boolean |
hasRegionName()
full region name
|
boolean |
hasStoreHomeDir()
relative to region dir
|
boolean |
hasTableName()
TODO: WALKey already stores these, might remove
|
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WALProtos.CompactionDescriptor.Builder |
newBuilder() |
static WALProtos.CompactionDescriptor.Builder |
newBuilder(WALProtos.CompactionDescriptor prototype) |
WALProtos.CompactionDescriptor.Builder |
newBuilderForType() |
protected WALProtos.CompactionDescriptor.Builder |
newBuilderForType(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static WALProtos.CompactionDescriptor |
parseDelimitedFrom(InputStream input) |
static WALProtos.CompactionDescriptor |
parseDelimitedFrom(InputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.CompactionDescriptor |
parseFrom(byte[] data) |
static WALProtos.CompactionDescriptor |
parseFrom(byte[] data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.CompactionDescriptor |
parseFrom(ByteBuffer data) |
static WALProtos.CompactionDescriptor |
parseFrom(ByteBuffer data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.CompactionDescriptor |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) |
static WALProtos.CompactionDescriptor |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.CompactionDescriptor |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) |
static WALProtos.CompactionDescriptor |
parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.CompactionDescriptor |
parseFrom(InputStream input) |
static WALProtos.CompactionDescriptor |
parseFrom(InputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> |
parser() |
WALProtos.CompactionDescriptor.Builder |
toBuilder() |
void |
writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TABLE_NAME_FIELD_NUMBER
public static final int ENCODED_REGION_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
public static final int COMPACTION_INPUT_FIELD_NUMBER
public static final int COMPACTION_OUTPUT_FIELD_NUMBER
public static final int STORE_HOME_DIR_FIELD_NUMBER
public static final int REGION_NAME_FIELD_NUMBER
@Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> PARSER
public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public boolean hasTableName()
TODO: WALKey already stores these, might remove
required bytes table_name = 1;hasTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getTableName()
TODO: WALKey already stores these, might remove
required bytes table_name = 1;getTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic boolean hasEncodedRegionName()
required bytes encoded_region_name = 2;hasEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;getEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic boolean hasFamilyName()
required bytes family_name = 3;hasFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;getFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ProtocolStringList getCompactionInputList()
relative to store dir
repeated string compaction_input = 4;getCompactionInputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionInputCount()
relative to store dir
repeated string compaction_input = 4;getCompactionInputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionInput(int index)
relative to store dir
repeated string compaction_input = 4;getCompactionInput in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getCompactionInputBytes(int index)
relative to store dir
repeated string compaction_input = 4;getCompactionInputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ProtocolStringList getCompactionOutputList()
repeated string compaction_output = 5;getCompactionOutputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionOutputCount()
repeated string compaction_output = 5;getCompactionOutputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionOutput(int index)
repeated string compaction_output = 5;getCompactionOutput in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;getCompactionOutputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic boolean hasStoreHomeDir()
relative to region dir
required string store_home_dir = 6;hasStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic String getStoreHomeDir()
relative to region dir
required string store_home_dir = 6;getStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getStoreHomeDirBytes()
relative to region dir
required string store_home_dir = 6;getStoreHomeDirBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic boolean hasRegionName()
full region name
optional bytes region_name = 7;hasRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic org.apache.hbase.thirdparty.com.google.protobuf.ByteString getRegionName()
full region name
optional bytes region_name = 7;getRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitewriteTo in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitegetSerializedSize in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hbase.thirdparty.com.google.protobuf.Messageequals in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagehashCode in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessagepublic static WALProtos.CompactionDescriptor parseFrom(ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseFrom(InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WALProtos.CompactionDescriptor.Builder newBuilderForType()
newBuilderForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagenewBuilderForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitepublic static WALProtos.CompactionDescriptor.Builder newBuilder()
public static WALProtos.CompactionDescriptor.Builder newBuilder(WALProtos.CompactionDescriptor prototype)
public WALProtos.CompactionDescriptor.Builder toBuilder()
toBuilder in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagetoBuilder in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteprotected WALProtos.CompactionDescriptor.Builder newBuilderForType(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public static WALProtos.CompactionDescriptor getDefaultInstance()
public static org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> parser()
public org.apache.hbase.thirdparty.com.google.protobuf.Parser<WALProtos.CompactionDescriptor> getParserForType()
getParserForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessagegetParserForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLitegetParserForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3public WALProtos.CompactionDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilderCopyright © 2007–2019 Cloudera. All rights reserved.