public static final class WALProtos.CompactionDescriptor.Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder> 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 | Method and Description |
|---|---|
WALProtos.CompactionDescriptor.Builder |
addAllCompactionInput(Iterable<String> values)
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addCompactionInput(String value)
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addCompactionInputBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addCompactionOutput(String value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addCompactionOutputBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WALProtos.CompactionDescriptor |
build() |
WALProtos.CompactionDescriptor |
buildPartial() |
WALProtos.CompactionDescriptor.Builder |
clear() |
WALProtos.CompactionDescriptor.Builder |
clearCompactionInput()
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
clearCompactionOutput()
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
clearEncodedRegionName()
required bytes encoded_region_name = 2; |
WALProtos.CompactionDescriptor.Builder |
clearFamilyName()
required bytes family_name = 3; |
WALProtos.CompactionDescriptor.Builder |
clearField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) |
WALProtos.CompactionDescriptor.Builder |
clearOneof(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WALProtos.CompactionDescriptor.Builder |
clearRegionName()
full region name
|
WALProtos.CompactionDescriptor.Builder |
clearStoreHomeDir()
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
clearTableName()
TODO: WALKey already stores these, might remove
|
WALProtos.CompactionDescriptor.Builder |
clone() |
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; |
WALProtos.CompactionDescriptor |
getDefaultInstanceForType() |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.ByteString |
getRegionName()
full region name
|
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
|
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 2; |
boolean |
hasFamilyName()
required bytes family_name = 3; |
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() |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(WALProtos.CompactionDescriptor other) |
WALProtos.CompactionDescriptor.Builder |
mergeUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) |
WALProtos.CompactionDescriptor.Builder |
setCompactionInput(int index,
String value)
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
setCompactionOutput(int index,
String value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
setEncodedRegionName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
required bytes encoded_region_name = 2; |
WALProtos.CompactionDescriptor.Builder |
setFamilyName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
required bytes family_name = 3; |
WALProtos.CompactionDescriptor.Builder |
setField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WALProtos.CompactionDescriptor.Builder |
setRegionName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
full region name
|
WALProtos.CompactionDescriptor.Builder |
setRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDir(String value)
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDirBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
setTableName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
TODO: WALKey already stores these, might remove
|
WALProtos.CompactionDescriptor.Builder |
setUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clear()
clear in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderclear in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderclear in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilderpublic WALProtos.CompactionDescriptor build()
build in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderbuild in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor buildPartial()
buildPartial in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderbuildPartial in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor.Builder clone()
clone in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderclone in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderclone in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder setField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clearField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderclearField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clearOneof(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderclearOneof in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder setRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetRepeatedField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder addRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderaddRepeatedField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other)
mergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeFrom in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)
public final boolean isInitialized()
isInitialized in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.BuildermergeFrom in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>IOExceptionpublic 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 WALProtos.CompactionDescriptor.Builder setTableName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
TODO: WALKey already stores these, might remove
required bytes table_name = 1;public WALProtos.CompactionDescriptor.Builder clearTableName()
TODO: WALKey already stores these, might remove
required bytes table_name = 1;public 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 WALProtos.CompactionDescriptor.Builder setEncodedRegionName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
required bytes encoded_region_name = 2;public WALProtos.CompactionDescriptor.Builder clearEncodedRegionName()
required bytes encoded_region_name = 2;public 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 WALProtos.CompactionDescriptor.Builder setFamilyName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
required bytes family_name = 3;public WALProtos.CompactionDescriptor.Builder clearFamilyName()
required bytes family_name = 3;public 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 WALProtos.CompactionDescriptor.Builder setCompactionInput(int index, String value)
relative to store dir
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
relative to store dir
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
relative to store dir
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder clearCompactionInput()
relative to store dir
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
relative to store dir
repeated string compaction_input = 4;public 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 WALProtos.CompactionDescriptor.Builder setCompactionOutput(int index, String value)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addCompactionOutput(String value)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder clearCompactionOutput()
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addCompactionOutputBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
repeated string compaction_output = 5;public 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 WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
relative to region dir
required string store_home_dir = 6;public WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
relative to region dir
required string store_home_dir = 6;public WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
relative to region dir
required string store_home_dir = 6;public 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 WALProtos.CompactionDescriptor.Builder setRegionName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value)
full region name
optional bytes region_name = 7;public WALProtos.CompactionDescriptor.Builder clearRegionName()
full region name
optional bytes region_name = 7;public final WALProtos.CompactionDescriptor.Builder setUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>public final WALProtos.CompactionDescriptor.Builder mergeUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<WALProtos.CompactionDescriptor.Builder>Copyright © 2007–2019 Cloudera. All rights reserved.