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 |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 com.google.protobuf.Parser<WALProtos.CompactionDescriptor> |
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; |
com.google.protobuf.Parser<WALProtos.CompactionDescriptor> |
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) |
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) |
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) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<WALProtos.CompactionDescriptor> 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()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<WALProtos.CompactionDescriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic 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;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 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;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 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()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic 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) 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) throws IOException
IOExceptionpublic 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()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WALProtos.CompactionDescriptor.Builder newBuilder(WALProtos.CompactionDescriptor prototype)
public WALProtos.CompactionDescriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WALProtos.CompactionDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.