public static final class WALProtos.CompactionDescriptor.Builder extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder> implements WALProtos.CompactionDescriptorOrBuilder
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.
| Modifier and Type | Method and Description |
|---|---|
WALProtos.CompactionDescriptor.Builder |
addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4; |
WALProtos.CompactionDescriptor.Builder |
addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5; |
WALProtos.CompactionDescriptor.Builder |
addCompactionInput(String value)
repeated string compaction_input = 4; |
WALProtos.CompactionDescriptor.Builder |
addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4; |
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; |
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; |
WALProtos.CompactionDescriptor.Builder |
clearStoreHomeDir()
required string store_home_dir = 6; |
WALProtos.CompactionDescriptor.Builder |
clearTableName()
required bytes table_name = 1; |
WALProtos.CompactionDescriptor.Builder |
clone() |
String |
getCompactionInput(int index)
repeated string compaction_input = 4; |
com.google.protobuf.ByteString |
getCompactionInputBytes(int index)
repeated string compaction_input = 4; |
int |
getCompactionInputCount()
repeated string compaction_input = 4; |
List<String> |
getCompactionInputList()
repeated string compaction_input = 4; |
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; |
String |
getStoreHomeDir()
required string store_home_dir = 6; |
com.google.protobuf.ByteString |
getStoreHomeDirBytes()
required string store_home_dir = 6; |
com.google.protobuf.ByteString |
getTableName()
required bytes table_name = 1; |
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 2; |
boolean |
hasFamilyName()
required bytes family_name = 3; |
boolean |
hasRegionName()
optional bytes region_name = 7; |
boolean |
hasStoreHomeDir()
required string store_home_dir = 6; |
boolean |
hasTableName()
required bytes table_name = 1; |
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; |
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; |
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDir(String value)
required string store_home_dir = 6; |
WALProtos.CompactionDescriptor.Builder |
setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6; |
WALProtos.CompactionDescriptor.Builder |
setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 1; |
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, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WALProtos.CompactionDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>public WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class 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 in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>IOExceptionpublic boolean hasTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
hasTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
getTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic 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;hasEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;getEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic 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;hasFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;getFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic 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;getCompactionInputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionInputCount()
repeated string compaction_input = 4;getCompactionInputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionInput(int index)
repeated string compaction_input = 4;getCompactionInput in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;getCompactionInputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setCompactionInput(int index, String value)
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder clearCompactionInput()
repeated string compaction_input = 4;public WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4;public List<String> 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 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(com.google.protobuf.ByteString value)
repeated string compaction_output = 5;public boolean hasStoreHomeDir()
required string store_home_dir = 6;hasStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic String getStoreHomeDir()
required string store_home_dir = 6;getStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;getStoreHomeDirBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
required string store_home_dir = 6;public WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
required string store_home_dir = 6;public WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6;public boolean hasRegionName()
optional bytes region_name = 7;
full region name
hasRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
getRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic 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 © 2014 The Apache Software Foundation. All rights reserved.