public static final class WALProtos.CompactionDescriptor.Builder extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder> implements WALProtos.CompactionDescriptorOrBuilder
hbase.pb.CompactionDescriptor
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.
| 限定符和类型 | 方法和说明 |
|---|---|
WALProtos.CompactionDescriptor.Builder |
addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4;
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addCompactionInput(String value)
repeated string compaction_input = 4;
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4;
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
addCompactionOutput(String value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addCompactionOutputBytes(com.google.protobuf.ByteString value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor |
build() |
WALProtos.CompactionDescriptor |
buildPartial() |
WALProtos.CompactionDescriptor.Builder |
clear() |
WALProtos.CompactionDescriptor.Builder |
clearCompactionInput()
repeated string compaction_input = 4;
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 |
clearRegionName()
optional bytes region_name = 7;
full region name
|
WALProtos.CompactionDescriptor.Builder |
clearStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
clearTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
|
WALProtos.CompactionDescriptor.Builder |
clone() |
String |
getCompactionInput(int index)
repeated string compaction_input = 4;
relative to store dir
|
com.google.protobuf.ByteString |
getCompactionInputBytes(int index)
repeated string compaction_input = 4;
relative to store dir
|
int |
getCompactionInputCount()
repeated string compaction_input = 4;
relative to store dir
|
List<String> |
getCompactionInputList()
repeated string compaction_input = 4;
relative to store dir
|
String |
getCompactionOutput(int index)
repeated string compaction_output = 5; |
com.google.protobuf.ByteString |
getCompactionOutputBytes(int index)
repeated string compaction_output = 5; |
int |
getCompactionOutputCount()
repeated string compaction_output = 5; |
List<String> |
getCompactionOutputList()
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getEncodedRegionName()
required bytes encoded_region_name = 2; |
com.google.protobuf.ByteString |
getFamilyName()
required bytes family_name = 3; |
com.google.protobuf.ByteString |
getRegionName()
optional bytes region_name = 7;
full region name
|
String |
getStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
|
com.google.protobuf.ByteString |
getStoreHomeDirBytes()
required string store_home_dir = 6;
relative to region dir
|
com.google.protobuf.ByteString |
getTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
|
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 2; |
boolean |
hasFamilyName()
required bytes family_name = 3; |
boolean |
hasRegionName()
optional bytes region_name = 7;
full region name
|
boolean |
hasStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
|
boolean |
hasTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
WALProtos.CompactionDescriptor.Builder |
mergeFrom(WALProtos.CompactionDescriptor other) |
WALProtos.CompactionDescriptor.Builder |
setCompactionInput(int index,
String value)
repeated string compaction_input = 4;
relative to store dir
|
WALProtos.CompactionDescriptor.Builder |
setCompactionOutput(int index,
String value)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 2; |
WALProtos.CompactionDescriptor.Builder |
setFamilyName(com.google.protobuf.ByteString value)
required bytes family_name = 3; |
WALProtos.CompactionDescriptor.Builder |
setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7;
full region name
|
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDir(String value)
required string store_home_dir = 6;
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6;
relative to region dir
|
WALProtos.CompactionDescriptor.Builder |
setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
|
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic WALProtos.CompactionDescriptor build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>IOExceptionpublic boolean hasTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
public com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
public WALProtos.CompactionDescriptor.Builder setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
public WALProtos.CompactionDescriptor.Builder clearTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
public boolean hasEncodedRegionName()
required bytes encoded_region_name = 2;public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;public WALProtos.CompactionDescriptor.Builder setEncodedRegionName(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;public com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;public WALProtos.CompactionDescriptor.Builder setFamilyName(com.google.protobuf.ByteString value)
required bytes family_name = 3;public WALProtos.CompactionDescriptor.Builder clearFamilyName()
required bytes family_name = 3;public List<String> getCompactionInputList()
repeated string compaction_input = 4;
relative to store dir
public int getCompactionInputCount()
repeated string compaction_input = 4;
relative to store dir
public String getCompactionInput(int index)
repeated string compaction_input = 4;
relative to store dir
public com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;
relative to store dir
public WALProtos.CompactionDescriptor.Builder setCompactionInput(int index, String value)
repeated string compaction_input = 4;
relative to store dir
public WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
repeated string compaction_input = 4;
relative to store dir
public WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4;
relative to store dir
public WALProtos.CompactionDescriptor.Builder clearCompactionInput()
repeated string compaction_input = 4;
relative to store dir
public WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4;
relative to store dir
public List<String> getCompactionOutputList()
repeated string compaction_output = 5;public int getCompactionOutputCount()
repeated string compaction_output = 5;public String getCompactionOutput(int index)
repeated string compaction_output = 5;public com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;public 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(com.google.protobuf.ByteString value)
repeated string compaction_output = 5;public boolean hasStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
public String getStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
public com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;
relative to region dir
public WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
required string store_home_dir = 6;
relative to region dir
public WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
public WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6;
relative to region dir
public boolean hasRegionName()
optional bytes region_name = 7;
full region name
public com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
public WALProtos.CompactionDescriptor.Builder setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7;
full region name
public WALProtos.CompactionDescriptor.Builder clearRegionName()
optional bytes region_name = 7;
full region name
Copyright © 2007–2019. All rights reserved.