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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<WALProtos.CompactionDescriptor> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
hasTableName
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
getTableName
in interface WALProtos.CompactionDescriptorOrBuilder
public boolean hasEncodedRegionName()
required bytes encoded_region_name = 2;
hasEncodedRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;
getEncodedRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public boolean hasFamilyName()
required bytes family_name = 3;
hasFamilyName
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;
getFamilyName
in interface WALProtos.CompactionDescriptorOrBuilder
public List<String> getCompactionInputList()
repeated string compaction_input = 4;
relative to store dir
getCompactionInputList
in interface WALProtos.CompactionDescriptorOrBuilder
public int getCompactionInputCount()
repeated string compaction_input = 4;
relative to store dir
getCompactionInputCount
in interface WALProtos.CompactionDescriptorOrBuilder
public String getCompactionInput(int index)
repeated string compaction_input = 4;
relative to store dir
getCompactionInput
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;
relative to store dir
getCompactionInputBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public List<String> getCompactionOutputList()
repeated string compaction_output = 5;
getCompactionOutputList
in interface WALProtos.CompactionDescriptorOrBuilder
public int getCompactionOutputCount()
repeated string compaction_output = 5;
getCompactionOutputCount
in interface WALProtos.CompactionDescriptorOrBuilder
public String getCompactionOutput(int index)
repeated string compaction_output = 5;
getCompactionOutput
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;
getCompactionOutputBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public boolean hasStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
hasStoreHomeDir
in interface WALProtos.CompactionDescriptorOrBuilder
public String getStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
getStoreHomeDir
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;
relative to region dir
getStoreHomeDirBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public boolean hasRegionName()
optional bytes region_name = 7;
full region name
hasRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
getRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.CompactionDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.CompactionDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.CompactionDescriptor parseFrom(InputStream input) throws IOException
IOException
public static WALProtos.CompactionDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WALProtos.CompactionDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WALProtos.CompactionDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.CompactionDescriptor.Builder newBuilder()
public WALProtos.CompactionDescriptor.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WALProtos.CompactionDescriptor.Builder newBuilder(WALProtos.CompactionDescriptor prototype)
public WALProtos.CompactionDescriptor.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WALProtos.CompactionDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.