public static final class WALProtos.CompactionDescriptor extends com.google.protobuf.GeneratedMessage 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 | Class and Description | 
|---|---|
static class  | 
WALProtos.CompactionDescriptor.Builder
Protobuf type  
CompactionDescriptor | 
| 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 <any> | 
PARSER  | 
static int | 
REGION_NAME_FIELD_NUMBER  | 
static int | 
STORE_HOME_DIR_FIELD_NUMBER  | 
static int | 
TABLE_NAME_FIELD_NUMBER  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
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; | 
static WALProtos.CompactionDescriptor | 
getDefaultInstance()  | 
WALProtos.CompactionDescriptor | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.ByteString | 
getEncodedRegionName()
required bytes encoded_region_name = 2; | 
com.google.protobuf.ByteString | 
getFamilyName()
required bytes family_name = 3; | 
<any> | 
getParserForType()  | 
com.google.protobuf.ByteString | 
getRegionName()
optional bytes region_name = 7; | 
int | 
getSerializedSize()  | 
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; | 
com.google.protobuf.UnknownFieldSet | 
getUnknownFields()  | 
boolean | 
hasEncodedRegionName()
required bytes encoded_region_name = 2; | 
boolean | 
hasFamilyName()
required bytes family_name = 3; | 
int | 
hashCode()  | 
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()  | 
static WALProtos.CompactionDescriptor.Builder | 
newBuilder()  | 
static WALProtos.CompactionDescriptor.Builder | 
newBuilder(WALProtos.CompactionDescriptor prototype)  | 
WALProtos.CompactionDescriptor.Builder | 
newBuilderForType()  | 
protected WALProtos.CompactionDescriptor.Builder | 
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)  | 
static WALProtos.CompactionDescriptor | 
parseDelimitedFrom(InputStream input)  | 
static WALProtos.CompactionDescriptor | 
parseDelimitedFrom(InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(com.google.protobuf.ByteString data)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(com.google.protobuf.CodedInputStream input)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static WALProtos.CompactionDescriptor | 
parseFrom(InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
WALProtos.CompactionDescriptor.Builder | 
toBuilder()  | 
protected Object | 
writeReplace()  | 
void | 
writeTo(com.google.protobuf.CodedOutputStream output)  | 
public static <any> PARSER
public 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
public static WALProtos.CompactionDescriptor getDefaultInstance()
public WALProtos.CompactionDescriptor getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public 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 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 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 List<String> getCompactionInputList()
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionInputCount()
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionInput(int index)
repeated string compaction_input = 4;
 relative to store dir
getCompactionInput in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic 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 boolean hasStoreHomeDir()
required string store_home_dir = 6;
 relative to region dir
hasStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic String getStoreHomeDir()
required string store_home_dir = 6;
 relative to region dir
getStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;
 relative to region dir
getStoreHomeDirBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
IOExceptionpublic int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic boolean equals(Object obj)
public int hashCode()
public static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.CompactionDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.CompactionDescriptor.Builder newBuilder()
public WALProtos.CompactionDescriptor.Builder newBuilderForType()
public static WALProtos.CompactionDescriptor.Builder newBuilder(WALProtos.CompactionDescriptor prototype)
public WALProtos.CompactionDescriptor.Builder toBuilder()
protected WALProtos.CompactionDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)