You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sa...@apache.org on 2016/10/04 19:13:54 UTC
[6/8] phoenix git commit: Encode column names and take advantage of
encoding in group by and order by. PHOENIX-2565 Store data for immutable
tables in single KeyValue (Thomas DSilva) Enable encoded column qualifiers
for joins. Use qualifier counter per c
http://git-wip-us.apache.org/repos/asf/phoenix/blob/6c622e54/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
index 4171680..085d5c6 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
@@ -269,6 +269,16 @@ public final class PTableProtos {
* <code>optional bool isDynamic = 14;</code>
*/
boolean getIsDynamic();
+
+ // optional int32 columnQualifier = 15;
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ boolean hasColumnQualifier();
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ int getColumnQualifier();
}
/**
* Protobuf type {@code PColumn}
@@ -391,6 +401,11 @@ public final class PTableProtos {
isDynamic_ = input.readBool();
break;
}
+ case 120: {
+ bitField0_ |= 0x00004000;
+ columnQualifier_ = input.readInt32();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -709,6 +724,22 @@ public final class PTableProtos {
return isDynamic_;
}
+ // optional int32 columnQualifier = 15;
+ public static final int COLUMNQUALIFIER_FIELD_NUMBER = 15;
+ private int columnQualifier_;
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public boolean hasColumnQualifier() {
+ return ((bitField0_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public int getColumnQualifier() {
+ return columnQualifier_;
+ }
+
private void initFields() {
columnNameBytes_ = com.google.protobuf.ByteString.EMPTY;
familyNameBytes_ = com.google.protobuf.ByteString.EMPTY;
@@ -724,6 +755,7 @@ public final class PTableProtos {
expression_ = "";
isRowTimestamp_ = false;
isDynamic_ = false;
+ columnQualifier_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -799,6 +831,9 @@ public final class PTableProtos {
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBool(14, isDynamic_);
}
+ if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ output.writeInt32(15, columnQualifier_);
+ }
getUnknownFields().writeTo(output);
}
@@ -864,6 +899,10 @@ public final class PTableProtos {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, isDynamic_);
}
+ if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(15, columnQualifier_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -957,6 +996,11 @@ public final class PTableProtos {
result = result && (getIsDynamic()
== other.getIsDynamic());
}
+ result = result && (hasColumnQualifier() == other.hasColumnQualifier());
+ if (hasColumnQualifier()) {
+ result = result && (getColumnQualifier()
+ == other.getColumnQualifier());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -1026,6 +1070,10 @@ public final class PTableProtos {
hash = (37 * hash) + ISDYNAMIC_FIELD_NUMBER;
hash = (53 * hash) + hashBoolean(getIsDynamic());
}
+ if (hasColumnQualifier()) {
+ hash = (37 * hash) + COLUMNQUALIFIER_FIELD_NUMBER;
+ hash = (53 * hash) + getColumnQualifier();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1163,6 +1211,8 @@ public final class PTableProtos {
bitField0_ = (bitField0_ & ~0x00001000);
isDynamic_ = false;
bitField0_ = (bitField0_ & ~0x00002000);
+ columnQualifier_ = 0;
+ bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
@@ -1247,6 +1297,10 @@ public final class PTableProtos {
to_bitField0_ |= 0x00002000;
}
result.isDynamic_ = isDynamic_;
+ if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ to_bitField0_ |= 0x00004000;
+ }
+ result.columnQualifier_ = columnQualifier_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -1309,6 +1363,9 @@ public final class PTableProtos {
if (other.hasIsDynamic()) {
setIsDynamic(other.getIsDynamic());
}
+ if (other.hasColumnQualifier()) {
+ setColumnQualifier(other.getColumnQualifier());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -1909,6 +1966,39 @@ public final class PTableProtos {
return this;
}
+ // optional int32 columnQualifier = 15;
+ private int columnQualifier_ ;
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public boolean hasColumnQualifier() {
+ return ((bitField0_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public int getColumnQualifier() {
+ return columnQualifier_;
+ }
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public Builder setColumnQualifier(int value) {
+ bitField0_ |= 0x00004000;
+ columnQualifier_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 columnQualifier = 15;</code>
+ */
+ public Builder clearColumnQualifier() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ columnQualifier_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:PColumn)
}
@@ -3140,38 +3230,25 @@ public final class PTableProtos {
*/
boolean getIsImmutableRows();
- // repeated .PTableStats guidePosts = 12;
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats>
- getGuidePostsList();
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats getGuidePosts(int index);
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- int getGuidePostsCount();
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder>
- getGuidePostsOrBuilderList();
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder getGuidePostsOrBuilder(
- int index);
-
// optional bytes dataTableNameBytes = 13;
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
boolean hasDataTableNameBytes();
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
com.google.protobuf.ByteString getDataTableNameBytes();
@@ -3349,30 +3426,65 @@ public final class PTableProtos {
*/
boolean getIsNamespaceMapped();
- // optional string autoParititonSeqName = 31;
+ // optional string autoParititonSeqName = 32;
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
boolean hasAutoParititonSeqName();
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
java.lang.String getAutoParititonSeqName();
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
com.google.protobuf.ByteString
getAutoParititonSeqNameBytes();
- // optional bool isAppendOnlySchema = 32;
+ // optional bool isAppendOnlySchema = 33;
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
boolean hasIsAppendOnlySchema();
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
boolean getIsAppendOnlySchema();
+
+ // optional bytes storageScheme = 34;
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ boolean hasStorageScheme();
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ com.google.protobuf.ByteString getStorageScheme();
+
+ // repeated .EncodedCQCounter encodedCQCounters = 35;
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter>
+ getEncodedCQCountersList();
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter getEncodedCQCounters(int index);
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ int getEncodedCQCountersCount();
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder>
+ getEncodedCQCountersOrBuilderList();
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder getEncodedCQCountersOrBuilder(
+ int index);
}
/**
* Protobuf type {@code PTable}
@@ -3408,6 +3520,7 @@ public final class PTableProtos {
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
+ int mutable_bitField1_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3492,14 +3605,6 @@ public final class PTableProtos {
isImmutableRows_ = input.readBool();
break;
}
- case 98: {
- if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
- guidePosts_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats>();
- mutable_bitField0_ |= 0x00000800;
- }
- guidePosts_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.PARSER, extensionRegistry));
- break;
- }
case 106: {
bitField0_ |= 0x00000200;
dataTableNameBytes_ = input.readBytes();
@@ -3531,9 +3636,9 @@ public final class PTableProtos {
break;
}
case 154: {
- if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
+ if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
physicalNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
- mutable_bitField0_ |= 0x00040000;
+ mutable_bitField0_ |= 0x00020000;
}
physicalNames_.add(input.readBytes());
break;
@@ -3593,16 +3698,29 @@ public final class PTableProtos {
isNamespaceMapped_ = input.readBool();
break;
}
- case 250: {
+ case 258: {
bitField0_ |= 0x04000000;
autoParititonSeqName_ = input.readBytes();
break;
}
- case 256: {
+ case 264: {
bitField0_ |= 0x08000000;
isAppendOnlySchema_ = input.readBool();
break;
}
+ case 274: {
+ bitField0_ |= 0x10000000;
+ storageScheme_ = input.readBytes();
+ break;
+ }
+ case 282: {
+ if (!((mutable_bitField1_ & 0x00000001) == 0x00000001)) {
+ encodedCQCounters_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter>();
+ mutable_bitField1_ |= 0x00000001;
+ }
+ encodedCQCounters_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.PARSER, extensionRegistry));
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3617,12 +3735,12 @@ public final class PTableProtos {
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
indexes_ = java.util.Collections.unmodifiableList(indexes_);
}
- if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
- guidePosts_ = java.util.Collections.unmodifiableList(guidePosts_);
- }
- if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
physicalNames_ = java.util.Collections.unmodifiableList(physicalNames_);
}
+ if (((mutable_bitField1_ & 0x00000001) == 0x00000001)) {
+ encodedCQCounters_ = java.util.Collections.unmodifiableList(encodedCQCounters_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -3898,53 +4016,29 @@ public final class PTableProtos {
return isImmutableRows_;
}
- // repeated .PTableStats guidePosts = 12;
- public static final int GUIDEPOSTS_FIELD_NUMBER = 12;
- private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> guidePosts_;
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> getGuidePostsList() {
- return guidePosts_;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder>
- getGuidePostsOrBuilderList() {
- return guidePosts_;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public int getGuidePostsCount() {
- return guidePosts_.size();
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats getGuidePosts(int index) {
- return guidePosts_.get(index);
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder getGuidePostsOrBuilder(
- int index) {
- return guidePosts_.get(index);
- }
-
// optional bytes dataTableNameBytes = 13;
public static final int DATATABLENAMEBYTES_FIELD_NUMBER = 13;
private com.google.protobuf.ByteString dataTableNameBytes_;
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public boolean hasDataTableNameBytes() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public com.google.protobuf.ByteString getDataTableNameBytes() {
return dataTableNameBytes_;
@@ -4229,17 +4323,17 @@ public final class PTableProtos {
return isNamespaceMapped_;
}
- // optional string autoParititonSeqName = 31;
- public static final int AUTOPARITITONSEQNAME_FIELD_NUMBER = 31;
+ // optional string autoParititonSeqName = 32;
+ public static final int AUTOPARITITONSEQNAME_FIELD_NUMBER = 32;
private java.lang.Object autoParititonSeqName_;
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public boolean hasAutoParititonSeqName() {
return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public java.lang.String getAutoParititonSeqName() {
java.lang.Object ref = autoParititonSeqName_;
@@ -4256,7 +4350,7 @@ public final class PTableProtos {
}
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public com.google.protobuf.ByteString
getAutoParititonSeqNameBytes() {
@@ -4272,22 +4366,74 @@ public final class PTableProtos {
}
}
- // optional bool isAppendOnlySchema = 32;
- public static final int ISAPPENDONLYSCHEMA_FIELD_NUMBER = 32;
+ // optional bool isAppendOnlySchema = 33;
+ public static final int ISAPPENDONLYSCHEMA_FIELD_NUMBER = 33;
private boolean isAppendOnlySchema_;
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public boolean hasIsAppendOnlySchema() {
return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public boolean getIsAppendOnlySchema() {
return isAppendOnlySchema_;
}
+ // optional bytes storageScheme = 34;
+ public static final int STORAGESCHEME_FIELD_NUMBER = 34;
+ private com.google.protobuf.ByteString storageScheme_;
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public boolean hasStorageScheme() {
+ return ((bitField0_ & 0x10000000) == 0x10000000);
+ }
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public com.google.protobuf.ByteString getStorageScheme() {
+ return storageScheme_;
+ }
+
+ // repeated .EncodedCQCounter encodedCQCounters = 35;
+ public static final int ENCODEDCQCOUNTERS_FIELD_NUMBER = 35;
+ private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter> encodedCQCounters_;
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter> getEncodedCQCountersList() {
+ return encodedCQCounters_;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder>
+ getEncodedCQCountersOrBuilderList() {
+ return encodedCQCounters_;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public int getEncodedCQCountersCount() {
+ return encodedCQCounters_.size();
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter getEncodedCQCounters(int index) {
+ return encodedCQCounters_.get(index);
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder getEncodedCQCountersOrBuilder(
+ int index) {
+ return encodedCQCounters_.get(index);
+ }
+
private void initFields() {
schemaNameBytes_ = com.google.protobuf.ByteString.EMPTY;
tableNameBytes_ = com.google.protobuf.ByteString.EMPTY;
@@ -4300,7 +4446,6 @@ public final class PTableProtos {
columns_ = java.util.Collections.emptyList();
indexes_ = java.util.Collections.emptyList();
isImmutableRows_ = false;
- guidePosts_ = java.util.Collections.emptyList();
dataTableNameBytes_ = com.google.protobuf.ByteString.EMPTY;
defaultFamilyName_ = com.google.protobuf.ByteString.EMPTY;
disableWAL_ = false;
@@ -4321,6 +4466,8 @@ public final class PTableProtos {
isNamespaceMapped_ = false;
autoParititonSeqName_ = "";
isAppendOnlySchema_ = false;
+ storageScheme_ = com.google.protobuf.ByteString.EMPTY;
+ encodedCQCounters_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -4375,8 +4522,8 @@ public final class PTableProtos {
return false;
}
}
- for (int i = 0; i < getGuidePostsCount(); i++) {
- if (!getGuidePosts(i).isInitialized()) {
+ for (int i = 0; i < getEncodedCQCountersCount(); i++) {
+ if (!getEncodedCQCounters(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
@@ -4421,9 +4568,6 @@ public final class PTableProtos {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(11, isImmutableRows_);
}
- for (int i = 0; i < guidePosts_.size(); i++) {
- output.writeMessage(12, guidePosts_.get(i));
- }
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(13, dataTableNameBytes_);
}
@@ -4479,10 +4623,16 @@ public final class PTableProtos {
output.writeBool(30, isNamespaceMapped_);
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
- output.writeBytes(31, getAutoParititonSeqNameBytes());
+ output.writeBytes(32, getAutoParititonSeqNameBytes());
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
- output.writeBool(32, isAppendOnlySchema_);
+ output.writeBool(33, isAppendOnlySchema_);
+ }
+ if (((bitField0_ & 0x10000000) == 0x10000000)) {
+ output.writeBytes(34, storageScheme_);
+ }
+ for (int i = 0; i < encodedCQCounters_.size(); i++) {
+ output.writeMessage(35, encodedCQCounters_.get(i));
}
getUnknownFields().writeTo(output);
}
@@ -4537,10 +4687,6 @@ public final class PTableProtos {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isImmutableRows_);
}
- for (int i = 0; i < guidePosts_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, guidePosts_.get(i));
- }
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(13, dataTableNameBytes_);
@@ -4620,11 +4766,19 @@ public final class PTableProtos {
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(31, getAutoParititonSeqNameBytes());
+ .computeBytesSize(32, getAutoParititonSeqNameBytes());
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(32, isAppendOnlySchema_);
+ .computeBoolSize(33, isAppendOnlySchema_);
+ }
+ if (((bitField0_ & 0x10000000) == 0x10000000)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(34, storageScheme_);
+ }
+ for (int i = 0; i < encodedCQCounters_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(35, encodedCQCounters_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
@@ -4698,8 +4852,6 @@ public final class PTableProtos {
result = result && (getIsImmutableRows()
== other.getIsImmutableRows());
}
- result = result && getGuidePostsList()
- .equals(other.getGuidePostsList());
result = result && (hasDataTableNameBytes() == other.hasDataTableNameBytes());
if (hasDataTableNameBytes()) {
result = result && getDataTableNameBytes()
@@ -4797,6 +4949,13 @@ public final class PTableProtos {
result = result && (getIsAppendOnlySchema()
== other.getIsAppendOnlySchema());
}
+ result = result && (hasStorageScheme() == other.hasStorageScheme());
+ if (hasStorageScheme()) {
+ result = result && getStorageScheme()
+ .equals(other.getStorageScheme());
+ }
+ result = result && getEncodedCQCountersList()
+ .equals(other.getEncodedCQCountersList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -4854,10 +5013,6 @@ public final class PTableProtos {
hash = (37 * hash) + ISIMMUTABLEROWS_FIELD_NUMBER;
hash = (53 * hash) + hashBoolean(getIsImmutableRows());
}
- if (getGuidePostsCount() > 0) {
- hash = (37 * hash) + GUIDEPOSTS_FIELD_NUMBER;
- hash = (53 * hash) + getGuidePostsList().hashCode();
- }
if (hasDataTableNameBytes()) {
hash = (37 * hash) + DATATABLENAMEBYTES_FIELD_NUMBER;
hash = (53 * hash) + getDataTableNameBytes().hashCode();
@@ -4938,6 +5093,14 @@ public final class PTableProtos {
hash = (37 * hash) + ISAPPENDONLYSCHEMA_FIELD_NUMBER;
hash = (53 * hash) + hashBoolean(getIsAppendOnlySchema());
}
+ if (hasStorageScheme()) {
+ hash = (37 * hash) + STORAGESCHEME_FIELD_NUMBER;
+ hash = (53 * hash) + getStorageScheme().hashCode();
+ }
+ if (getEncodedCQCountersCount() > 0) {
+ hash = (37 * hash) + ENCODEDCQCOUNTERS_FIELD_NUMBER;
+ hash = (53 * hash) + getEncodedCQCountersList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -5041,7 +5204,7 @@ public final class PTableProtos {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getColumnsFieldBuilder();
getIndexesFieldBuilder();
- getGuidePostsFieldBuilder();
+ getEncodedCQCountersFieldBuilder();
}
}
private static Builder create() {
@@ -5080,52 +5243,54 @@ public final class PTableProtos {
}
isImmutableRows_ = false;
bitField0_ = (bitField0_ & ~0x00000400);
- if (guidePostsBuilder_ == null) {
- guidePosts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
- } else {
- guidePostsBuilder_.clear();
- }
dataTableNameBytes_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000800);
defaultFamilyName_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00002000);
+ bitField0_ = (bitField0_ & ~0x00001000);
disableWAL_ = false;
- bitField0_ = (bitField0_ & ~0x00004000);
+ bitField0_ = (bitField0_ & ~0x00002000);
multiTenant_ = false;
- bitField0_ = (bitField0_ & ~0x00008000);
+ bitField0_ = (bitField0_ & ~0x00004000);
viewType_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00010000);
+ bitField0_ = (bitField0_ & ~0x00008000);
viewStatement_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00020000);
+ bitField0_ = (bitField0_ & ~0x00010000);
physicalNames_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x00020000);
tenantId_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00040000);
viewIndexId_ = 0;
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00080000);
indexType_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00200000);
+ bitField0_ = (bitField0_ & ~0x00100000);
statsTimeStamp_ = 0L;
- bitField0_ = (bitField0_ & ~0x00400000);
+ bitField0_ = (bitField0_ & ~0x00200000);
storeNulls_ = false;
- bitField0_ = (bitField0_ & ~0x00800000);
+ bitField0_ = (bitField0_ & ~0x00400000);
baseColumnCount_ = 0;
- bitField0_ = (bitField0_ & ~0x01000000);
+ bitField0_ = (bitField0_ & ~0x00800000);
rowKeyOrderOptimizable_ = false;
- bitField0_ = (bitField0_ & ~0x02000000);
+ bitField0_ = (bitField0_ & ~0x01000000);
transactional_ = false;
- bitField0_ = (bitField0_ & ~0x04000000);
+ bitField0_ = (bitField0_ & ~0x02000000);
updateCacheFrequency_ = 0L;
- bitField0_ = (bitField0_ & ~0x08000000);
+ bitField0_ = (bitField0_ & ~0x04000000);
indexDisableTimestamp_ = 0L;
- bitField0_ = (bitField0_ & ~0x10000000);
+ bitField0_ = (bitField0_ & ~0x08000000);
isNamespaceMapped_ = false;
- bitField0_ = (bitField0_ & ~0x20000000);
+ bitField0_ = (bitField0_ & ~0x10000000);
autoParititonSeqName_ = "";
- bitField0_ = (bitField0_ & ~0x40000000);
+ bitField0_ = (bitField0_ & ~0x20000000);
isAppendOnlySchema_ = false;
+ bitField0_ = (bitField0_ & ~0x40000000);
+ storageScheme_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x80000000);
+ if (encodedCQCountersBuilder_ == null) {
+ encodedCQCounters_ = java.util.Collections.emptyList();
+ bitField1_ = (bitField1_ & ~0x00000001);
+ } else {
+ encodedCQCountersBuilder_.clear();
+ }
return this;
}
@@ -5153,6 +5318,7 @@ public final class PTableProtos {
public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable buildPartial() {
org.apache.phoenix.coprocessor.generated.PTableProtos.PTable result = new org.apache.phoenix.coprocessor.generated.PTableProtos.PTable(this);
int from_bitField0_ = bitField0_;
+ int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
@@ -5208,96 +5374,100 @@ public final class PTableProtos {
to_bitField0_ |= 0x00000100;
}
result.isImmutableRows_ = isImmutableRows_;
- if (guidePostsBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- guidePosts_ = java.util.Collections.unmodifiableList(guidePosts_);
- bitField0_ = (bitField0_ & ~0x00000800);
- }
- result.guidePosts_ = guidePosts_;
- } else {
- result.guidePosts_ = guidePostsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000200;
}
result.dataTableNameBytes_ = dataTableNameBytes_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000400;
}
result.defaultFamilyName_ = defaultFamilyName_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000800;
}
result.disableWAL_ = disableWAL_;
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00001000;
}
result.multiTenant_ = multiTenant_;
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00002000;
}
result.viewType_ = viewType_;
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00004000;
}
result.viewStatement_ = viewStatement_;
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((bitField0_ & 0x00020000) == 0x00020000)) {
physicalNames_ = java.util.Collections.unmodifiableList(physicalNames_);
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x00020000);
}
result.physicalNames_ = physicalNames_;
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
+ if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00008000;
}
result.tenantId_ = tenantId_;
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
+ if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00010000;
}
result.viewIndexId_ = viewIndexId_;
- if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
+ if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00020000;
}
result.indexType_ = indexType_;
- if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
+ if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
to_bitField0_ |= 0x00040000;
}
result.statsTimeStamp_ = statsTimeStamp_;
- if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
+ if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00080000;
}
result.storeNulls_ = storeNulls_;
- if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
+ if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
to_bitField0_ |= 0x00100000;
}
result.baseColumnCount_ = baseColumnCount_;
- if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
+ if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
to_bitField0_ |= 0x00200000;
}
result.rowKeyOrderOptimizable_ = rowKeyOrderOptimizable_;
- if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
+ if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
to_bitField0_ |= 0x00400000;
}
result.transactional_ = transactional_;
- if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
+ if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
to_bitField0_ |= 0x00800000;
}
result.updateCacheFrequency_ = updateCacheFrequency_;
- if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
+ if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
to_bitField0_ |= 0x01000000;
}
result.indexDisableTimestamp_ = indexDisableTimestamp_;
- if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
+ if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
to_bitField0_ |= 0x02000000;
}
result.isNamespaceMapped_ = isNamespaceMapped_;
- if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
+ if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
to_bitField0_ |= 0x04000000;
}
result.autoParititonSeqName_ = autoParititonSeqName_;
- if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
+ if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
to_bitField0_ |= 0x08000000;
}
result.isAppendOnlySchema_ = isAppendOnlySchema_;
+ if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
+ to_bitField0_ |= 0x10000000;
+ }
+ result.storageScheme_ = storageScheme_;
+ if (encodedCQCountersBuilder_ == null) {
+ if (((bitField1_ & 0x00000001) == 0x00000001)) {
+ encodedCQCounters_ = java.util.Collections.unmodifiableList(encodedCQCounters_);
+ bitField1_ = (bitField1_ & ~0x00000001);
+ }
+ result.encodedCQCounters_ = encodedCQCounters_;
+ } else {
+ result.encodedCQCounters_ = encodedCQCountersBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -5395,32 +5565,6 @@ public final class PTableProtos {
if (other.hasIsImmutableRows()) {
setIsImmutableRows(other.getIsImmutableRows());
}
- if (guidePostsBuilder_ == null) {
- if (!other.guidePosts_.isEmpty()) {
- if (guidePosts_.isEmpty()) {
- guidePosts_ = other.guidePosts_;
- bitField0_ = (bitField0_ & ~0x00000800);
- } else {
- ensureGuidePostsIsMutable();
- guidePosts_.addAll(other.guidePosts_);
- }
- onChanged();
- }
- } else {
- if (!other.guidePosts_.isEmpty()) {
- if (guidePostsBuilder_.isEmpty()) {
- guidePostsBuilder_.dispose();
- guidePostsBuilder_ = null;
- guidePosts_ = other.guidePosts_;
- bitField0_ = (bitField0_ & ~0x00000800);
- guidePostsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getGuidePostsFieldBuilder() : null;
- } else {
- guidePostsBuilder_.addAllMessages(other.guidePosts_);
- }
- }
- }
if (other.hasDataTableNameBytes()) {
setDataTableNameBytes(other.getDataTableNameBytes());
}
@@ -5442,7 +5586,7 @@ public final class PTableProtos {
if (!other.physicalNames_.isEmpty()) {
if (physicalNames_.isEmpty()) {
physicalNames_ = other.physicalNames_;
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x00020000);
} else {
ensurePhysicalNamesIsMutable();
physicalNames_.addAll(other.physicalNames_);
@@ -5483,13 +5627,42 @@ public final class PTableProtos {
setIsNamespaceMapped(other.getIsNamespaceMapped());
}
if (other.hasAutoParititonSeqName()) {
- bitField0_ |= 0x40000000;
+ bitField0_ |= 0x20000000;
autoParititonSeqName_ = other.autoParititonSeqName_;
onChanged();
}
if (other.hasIsAppendOnlySchema()) {
setIsAppendOnlySchema(other.getIsAppendOnlySchema());
}
+ if (other.hasStorageScheme()) {
+ setStorageScheme(other.getStorageScheme());
+ }
+ if (encodedCQCountersBuilder_ == null) {
+ if (!other.encodedCQCounters_.isEmpty()) {
+ if (encodedCQCounters_.isEmpty()) {
+ encodedCQCounters_ = other.encodedCQCounters_;
+ bitField1_ = (bitField1_ & ~0x00000001);
+ } else {
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.addAll(other.encodedCQCounters_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.encodedCQCounters_.isEmpty()) {
+ if (encodedCQCountersBuilder_.isEmpty()) {
+ encodedCQCountersBuilder_.dispose();
+ encodedCQCountersBuilder_ = null;
+ encodedCQCounters_ = other.encodedCQCounters_;
+ bitField1_ = (bitField1_ & ~0x00000001);
+ encodedCQCountersBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getEncodedCQCountersFieldBuilder() : null;
+ } else {
+ encodedCQCountersBuilder_.addAllMessages(other.encodedCQCounters_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -5543,8 +5716,8 @@ public final class PTableProtos {
return false;
}
}
- for (int i = 0; i < getGuidePostsCount(); i++) {
- if (!getGuidePosts(i).isInitialized()) {
+ for (int i = 0; i < getEncodedCQCountersCount(); i++) {
+ if (!getEncodedCQCounters(i).isInitialized()) {
return false;
}
@@ -5570,6 +5743,7 @@ public final class PTableProtos {
return this;
}
private int bitField0_;
+ private int bitField1_;
// required bytes schemaNameBytes = 1;
private com.google.protobuf.ByteString schemaNameBytes_ = com.google.protobuf.ByteString.EMPTY;
@@ -6401,277 +6575,61 @@ public final class PTableProtos {
return this;
}
- // repeated .PTableStats guidePosts = 12;
- private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> guidePosts_ =
- java.util.Collections.emptyList();
- private void ensureGuidePostsIsMutable() {
- if (!((bitField0_ & 0x00000800) == 0x00000800)) {
- guidePosts_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats>(guidePosts_);
- bitField0_ |= 0x00000800;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder> guidePostsBuilder_;
-
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> getGuidePostsList() {
- if (guidePostsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(guidePosts_);
- } else {
- return guidePostsBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public int getGuidePostsCount() {
- if (guidePostsBuilder_ == null) {
- return guidePosts_.size();
- } else {
- return guidePostsBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats getGuidePosts(int index) {
- if (guidePostsBuilder_ == null) {
- return guidePosts_.get(index);
- } else {
- return guidePostsBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder setGuidePosts(
- int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats value) {
- if (guidePostsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGuidePostsIsMutable();
- guidePosts_.set(index, value);
- onChanged();
- } else {
- guidePostsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder setGuidePosts(
- int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder builderForValue) {
- if (guidePostsBuilder_ == null) {
- ensureGuidePostsIsMutable();
- guidePosts_.set(index, builderForValue.build());
- onChanged();
- } else {
- guidePostsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder addGuidePosts(org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats value) {
- if (guidePostsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGuidePostsIsMutable();
- guidePosts_.add(value);
- onChanged();
- } else {
- guidePostsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder addGuidePosts(
- int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats value) {
- if (guidePostsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGuidePostsIsMutable();
- guidePosts_.add(index, value);
- onChanged();
- } else {
- guidePostsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder addGuidePosts(
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder builderForValue) {
- if (guidePostsBuilder_ == null) {
- ensureGuidePostsIsMutable();
- guidePosts_.add(builderForValue.build());
- onChanged();
- } else {
- guidePostsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder addGuidePosts(
- int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder builderForValue) {
- if (guidePostsBuilder_ == null) {
- ensureGuidePostsIsMutable();
- guidePosts_.add(index, builderForValue.build());
- onChanged();
- } else {
- guidePostsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder addAllGuidePosts(
- java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> values) {
- if (guidePostsBuilder_ == null) {
- ensureGuidePostsIsMutable();
- super.addAll(values, guidePosts_);
- onChanged();
- } else {
- guidePostsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder clearGuidePosts() {
- if (guidePostsBuilder_ == null) {
- guidePosts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
- onChanged();
- } else {
- guidePostsBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public Builder removeGuidePosts(int index) {
- if (guidePostsBuilder_ == null) {
- ensureGuidePostsIsMutable();
- guidePosts_.remove(index);
- onChanged();
- } else {
- guidePostsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder getGuidePostsBuilder(
- int index) {
- return getGuidePostsFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder getGuidePostsOrBuilder(
- int index) {
- if (guidePostsBuilder_ == null) {
- return guidePosts_.get(index); } else {
- return guidePostsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder>
- getGuidePostsOrBuilderList() {
- if (guidePostsBuilder_ != null) {
- return guidePostsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(guidePosts_);
- }
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder addGuidePostsBuilder() {
- return getGuidePostsFieldBuilder().addBuilder(
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.getDefaultInstance());
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder addGuidePostsBuilder(
- int index) {
- return getGuidePostsFieldBuilder().addBuilder(
- index, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.getDefaultInstance());
- }
- /**
- * <code>repeated .PTableStats guidePosts = 12;</code>
- */
- public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder>
- getGuidePostsBuilderList() {
- return getGuidePostsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder>
- getGuidePostsFieldBuilder() {
- if (guidePostsBuilder_ == null) {
- guidePostsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder>(
- guidePosts_,
- ((bitField0_ & 0x00000800) == 0x00000800),
- getParentForChildren(),
- isClean());
- guidePosts_ = null;
- }
- return guidePostsBuilder_;
- }
-
// optional bytes dataTableNameBytes = 13;
private com.google.protobuf.ByteString dataTableNameBytes_ = com.google.protobuf.ByteString.EMPTY;
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public boolean hasDataTableNameBytes() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public com.google.protobuf.ByteString getDataTableNameBytes() {
return dataTableNameBytes_;
}
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public Builder setDataTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00000800;
dataTableNameBytes_ = value;
onChanged();
return this;
}
/**
* <code>optional bytes dataTableNameBytes = 13;</code>
+ *
+ * <pre>
+ * Do NOT reuse the tag '12'. Stats are no longer passed
+ * along with the PTable.
+ *repeated PTableStats guidePosts = 12;
+ * </pre>
*/
public Builder clearDataTableNameBytes() {
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000800);
dataTableNameBytes_ = getDefaultInstance().getDataTableNameBytes();
onChanged();
return this;
@@ -6683,7 +6641,7 @@ public final class PTableProtos {
* <code>optional bytes defaultFamilyName = 14;</code>
*/
public boolean hasDefaultFamilyName() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional bytes defaultFamilyName = 14;</code>
@@ -6698,7 +6656,7 @@ public final class PTableProtos {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00001000;
defaultFamilyName_ = value;
onChanged();
return this;
@@ -6707,7 +6665,7 @@ public final class PTableProtos {
* <code>optional bytes defaultFamilyName = 14;</code>
*/
public Builder clearDefaultFamilyName() {
- bitField0_ = (bitField0_ & ~0x00002000);
+ bitField0_ = (bitField0_ & ~0x00001000);
defaultFamilyName_ = getDefaultInstance().getDefaultFamilyName();
onChanged();
return this;
@@ -6719,7 +6677,7 @@ public final class PTableProtos {
* <code>required bool disableWAL = 15;</code>
*/
public boolean hasDisableWAL() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>required bool disableWAL = 15;</code>
@@ -6731,7 +6689,7 @@ public final class PTableProtos {
* <code>required bool disableWAL = 15;</code>
*/
public Builder setDisableWAL(boolean value) {
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00002000;
disableWAL_ = value;
onChanged();
return this;
@@ -6740,7 +6698,7 @@ public final class PTableProtos {
* <code>required bool disableWAL = 15;</code>
*/
public Builder clearDisableWAL() {
- bitField0_ = (bitField0_ & ~0x00004000);
+ bitField0_ = (bitField0_ & ~0x00002000);
disableWAL_ = false;
onChanged();
return this;
@@ -6752,7 +6710,7 @@ public final class PTableProtos {
* <code>required bool multiTenant = 16;</code>
*/
public boolean hasMultiTenant() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* <code>required bool multiTenant = 16;</code>
@@ -6764,7 +6722,7 @@ public final class PTableProtos {
* <code>required bool multiTenant = 16;</code>
*/
public Builder setMultiTenant(boolean value) {
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00004000;
multiTenant_ = value;
onChanged();
return this;
@@ -6773,7 +6731,7 @@ public final class PTableProtos {
* <code>required bool multiTenant = 16;</code>
*/
public Builder clearMultiTenant() {
- bitField0_ = (bitField0_ & ~0x00008000);
+ bitField0_ = (bitField0_ & ~0x00004000);
multiTenant_ = false;
onChanged();
return this;
@@ -6785,7 +6743,7 @@ public final class PTableProtos {
* <code>optional bytes viewType = 17;</code>
*/
public boolean hasViewType() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* <code>optional bytes viewType = 17;</code>
@@ -6800,7 +6758,7 @@ public final class PTableProtos {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00008000;
viewType_ = value;
onChanged();
return this;
@@ -6809,7 +6767,7 @@ public final class PTableProtos {
* <code>optional bytes viewType = 17;</code>
*/
public Builder clearViewType() {
- bitField0_ = (bitField0_ & ~0x00010000);
+ bitField0_ = (bitField0_ & ~0x00008000);
viewType_ = getDefaultInstance().getViewType();
onChanged();
return this;
@@ -6821,7 +6779,7 @@ public final class PTableProtos {
* <code>optional bytes viewStatement = 18;</code>
*/
public boolean hasViewStatement() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* <code>optional bytes viewStatement = 18;</code>
@@ -6836,7 +6794,7 @@ public final class PTableProtos {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00020000;
+ bitField0_ |= 0x00010000;
viewStatement_ = value;
onChanged();
return this;
@@ -6845,7 +6803,7 @@ public final class PTableProtos {
* <code>optional bytes viewStatement = 18;</code>
*/
public Builder clearViewStatement() {
- bitField0_ = (bitField0_ & ~0x00020000);
+ bitField0_ = (bitField0_ & ~0x00010000);
viewStatement_ = getDefaultInstance().getViewStatement();
onChanged();
return this;
@@ -6854,9 +6812,9 @@ public final class PTableProtos {
// repeated bytes physicalNames = 19;
private java.util.List<com.google.protobuf.ByteString> physicalNames_ = java.util.Collections.emptyList();
private void ensurePhysicalNamesIsMutable() {
- if (!((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (!((bitField0_ & 0x00020000) == 0x00020000)) {
physicalNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>(physicalNames_);
- bitField0_ |= 0x00040000;
+ bitField0_ |= 0x00020000;
}
}
/**
@@ -6918,7 +6876,7 @@ public final class PTableProtos {
*/
public Builder clearPhysicalNames() {
physicalNames_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
@@ -6929,7 +6887,7 @@ public final class PTableProtos {
* <code>optional bytes tenantId = 20;</code>
*/
public boolean hasTenantId() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
+ return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional bytes tenantId = 20;</code>
@@ -6944,7 +6902,7 @@ public final class PTableProtos {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00080000;
+ bitField0_ |= 0x00040000;
tenantId_ = value;
onChanged();
return this;
@@ -6953,7 +6911,7 @@ public final class PTableProtos {
* <code>optional bytes tenantId = 20;</code>
*/
public Builder clearTenantId() {
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00040000);
tenantId_ = getDefaultInstance().getTenantId();
onChanged();
return this;
@@ -6965,7 +6923,7 @@ public final class PTableProtos {
* <code>optional int32 viewIndexId = 21;</code>
*/
public boolean hasViewIndexId() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
+ return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* <code>optional int32 viewIndexId = 21;</code>
@@ -6977,7 +6935,7 @@ public final class PTableProtos {
* <code>optional int32 viewIndexId = 21;</code>
*/
public Builder setViewIndexId(int value) {
- bitField0_ |= 0x00100000;
+ bitField0_ |= 0x00080000;
viewIndexId_ = value;
onChanged();
return this;
@@ -6986,7 +6944,7 @@ public final class PTableProtos {
* <code>optional int32 viewIndexId = 21;</code>
*/
public Builder clearViewIndexId() {
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00080000);
viewIndexId_ = 0;
onChanged();
return this;
@@ -6998,7 +6956,7 @@ public final class PTableProtos {
* <code>optional bytes indexType = 22;</code>
*/
public boolean hasIndexType() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
+ return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* <code>optional bytes indexType = 22;</code>
@@ -7013,7 +6971,7 @@ public final class PTableProtos {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00200000;
+ bitField0_ |= 0x00100000;
indexType_ = value;
onChanged();
return this;
@@ -7022,7 +6980,7 @@ public final class PTableProtos {
* <code>optional bytes indexType = 22;</code>
*/
public Builder clearIndexType() {
- bitField0_ = (bitField0_ & ~0x00200000);
+ bitField0_ = (bitField0_ & ~0x00100000);
indexType_ = getDefaultInstance().getIndexType();
onChanged();
return this;
@@ -7034,7 +6992,7 @@ public final class PTableProtos {
* <code>optional int64 statsTimeStamp = 23;</code>
*/
public boolean hasStatsTimeStamp() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
+ return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* <code>optional int64 statsTimeStamp = 23;</code>
@@ -7046,7 +7004,7 @@ public final class PTableProtos {
* <code>optional int64 statsTimeStamp = 23;</code>
*/
public Builder setStatsTimeStamp(long value) {
- bitField0_ |= 0x00400000;
+ bitField0_ |= 0x00200000;
statsTimeStamp_ = value;
onChanged();
return this;
@@ -7055,7 +7013,7 @@ public final class PTableProtos {
* <code>optional int64 statsTimeStamp = 23;</code>
*/
public Builder clearStatsTimeStamp() {
- bitField0_ = (bitField0_ & ~0x00400000);
+ bitField0_ = (bitField0_ & ~0x00200000);
statsTimeStamp_ = 0L;
onChanged();
return this;
@@ -7067,7 +7025,7 @@ public final class PTableProtos {
* <code>optional bool storeNulls = 24;</code>
*/
public boolean hasStoreNulls() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
+ return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* <code>optional bool storeNulls = 24;</code>
@@ -7079,7 +7037,7 @@ public final class PTableProtos {
* <code>optional bool storeNulls = 24;</code>
*/
public Builder setStoreNulls(boolean value) {
- bitField0_ |= 0x00800000;
+ bitField0_ |= 0x00400000;
storeNulls_ = value;
onChanged();
return this;
@@ -7088,7 +7046,7 @@ public final class PTableProtos {
* <code>optional bool storeNulls = 24;</code>
*/
public Builder clearStoreNulls() {
- bitField0_ = (bitField0_ & ~0x00800000);
+ bitField0_ = (bitField0_ & ~0x00400000);
storeNulls_ = false;
onChanged();
return this;
@@ -7100,7 +7058,7 @@ public final class PTableProtos {
* <code>optional int32 baseColumnCount = 25;</code>
*/
public boolean hasBaseColumnCount() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
+ return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* <code>optional int32 baseColumnCount = 25;</code>
@@ -7112,7 +7070,7 @@ public final class PTableProtos {
* <code>optional int32 baseColumnCount = 25;</code>
*/
public Builder setBaseColumnCount(int value) {
- bitField0_ |= 0x01000000;
+ bitField0_ |= 0x00800000;
baseColumnCount_ = value;
onChanged();
return this;
@@ -7121,7 +7079,7 @@ public final class PTableProtos {
* <code>optional int32 baseColumnCount = 25;</code>
*/
public Builder clearBaseColumnCount() {
- bitField0_ = (bitField0_ & ~0x01000000);
+ bitField0_ = (bitField0_ & ~0x00800000);
baseColumnCount_ = 0;
onChanged();
return this;
@@ -7133,7 +7091,7 @@ public final class PTableProtos {
* <code>optional bool rowKeyOrderOptimizable = 26;</code>
*/
public boolean hasRowKeyOrderOptimizable() {
- return ((bitField0_ & 0x02000000) == 0x02000000);
+ return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* <code>optional bool rowKeyOrderOptimizable = 26;</code>
@@ -7145,7 +7103,7 @@ public final class PTableProtos {
* <code>optional bool rowKeyOrderOptimizable = 26;</code>
*/
public Builder setRowKeyOrderOptimizable(boolean value) {
- bitField0_ |= 0x02000000;
+ bitField0_ |= 0x01000000;
rowKeyOrderOptimizable_ = value;
onChanged();
return this;
@@ -7154,7 +7112,7 @@ public final class PTableProtos {
* <code>optional bool rowKeyOrderOptimizable = 26;</code>
*/
public Builder clearRowKeyOrderOptimizable() {
- bitField0_ = (bitField0_ & ~0x02000000);
+ bitField0_ = (bitField0_ & ~0x01000000);
rowKeyOrderOptimizable_ = false;
onChanged();
return this;
@@ -7166,7 +7124,7 @@ public final class PTableProtos {
* <code>optional bool transactional = 27;</code>
*/
public boolean hasTransactional() {
- return ((bitField0_ & 0x04000000) == 0x04000000);
+ return ((bitField0_ & 0x02000000) == 0x02000000);
}
/**
* <code>optional bool transactional = 27;</code>
@@ -7178,7 +7136,7 @@ public final class PTableProtos {
* <code>optional bool transactional = 27;</code>
*/
public Builder setTransactional(boolean value) {
- bitField0_ |= 0x04000000;
+ bitField0_ |= 0x02000000;
transactional_ = value;
onChanged();
return this;
@@ -7187,7 +7145,7 @@ public final class PTableProtos {
* <code>optional bool transactional = 27;</code>
*/
public Builder clearTransactional() {
- bitField0_ = (bitField0_ & ~0x04000000);
+ bitField0_ = (bitField0_ & ~0x02000000);
transactional_ = false;
onChanged();
return this;
@@ -7199,7 +7157,7 @@ public final class PTableProtos {
* <code>optional int64 updateCacheFrequency = 28;</code>
*/
public boolean hasUpdateCacheFrequency() {
- return ((bitField0_ & 0x08000000) == 0x08000000);
+ return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
* <code>optional int64 updateCacheFrequency = 28;</code>
@@ -7211,7 +7169,7 @@ public final class PTableProtos {
* <code>optional int64 updateCacheFrequency = 28;</code>
*/
public Builder setUpdateCacheFrequency(long value) {
- bitField0_ |= 0x08000000;
+ bitField0_ |= 0x04000000;
updateCacheFrequency_ = value;
onChanged();
return this;
@@ -7220,7 +7178,7 @@ public final class PTableProtos {
* <code>optional int64 updateCacheFrequency = 28;</code>
*/
public Builder clearUpdateCacheFrequency() {
- bitField0_ = (bitField0_ & ~0x08000000);
+ bitField0_ = (bitField0_ & ~0x04000000);
updateCacheFrequency_ = 0L;
onChanged();
return this;
@@ -7232,7 +7190,7 @@ public final class PTableProtos {
* <code>optional int64 indexDisableTimestamp = 29;</code>
*/
public boolean hasIndexDisableTimestamp() {
- return ((bitField0_ & 0x10000000) == 0x10000000);
+ return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
* <code>optional int64 indexDisableTimestamp = 29;</code>
@@ -7244,7 +7202,7 @@ public final class PTableProtos {
* <code>optional int64 indexDisableTimestamp = 29;</code>
*/
public Builder setIndexDisableTimestamp(long value) {
- bitField0_ |= 0x10000000;
+ bitField0_ |= 0x08000000;
indexDisableTimestamp_ = value;
onChanged();
return this;
@@ -7253,7 +7211,7 @@ public final class PTableProtos {
* <code>optional int64 indexDisableTimestamp = 29;</code>
*/
public Builder clearIndexDisableTimestamp() {
- bitField0_ = (bitField0_ & ~0x10000000);
+ bitField0_ = (bitField0_ & ~0x08000000);
indexDisableTimestamp_ = 0L;
onChanged();
return this;
@@ -7265,7 +7223,7 @@ public final class PTableProtos {
* <code>optional bool isNamespaceMapped = 30;</code>
*/
public boolean hasIsNamespaceMapped() {
- return ((bitField0_ & 0x20000000) == 0x20000000);
+ return ((bitField0_ & 0x10000000) == 0x10000000);
}
/**
* <code>optional bool isNamespaceMapped = 30;</code>
@@ -7277,7 +7235,7 @@ public final class PTableProtos {
* <code>optional bool isNamespaceMapped = 30;</code>
*/
public Builder setIsNamespaceMapped(boolean value) {
- bitField0_ |= 0x20000000;
+ bitField0_ |= 0x10000000;
isNamespaceMapped_ = value;
onChanged();
return this;
@@ -7286,22 +7244,22 @@ public final class PTableProtos {
* <code>optional bool isNamespaceMapped = 30;</code>
*/
public Builder clearIsNamespaceMapped() {
- bitField0_ = (bitField0_ & ~0x20000000);
+ bitField0_ = (bitField0_ & ~0x10000000);
isNamespaceMapped_ = false;
onChanged();
return this;
}
- // optional string autoParititonSeqName = 31;
+ // optional string autoParititonSeqName = 32;
private java.lang.Object autoParititonSeqName_ = "";
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public boolean hasAutoParititonSeqName() {
- return ((bitField0_ & 0x40000000) == 0x40000000);
+ return ((bitField0_ & 0x20000000) == 0x20000000);
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public java.lang.String getAutoParititonSeqName() {
java.lang.Object ref = autoParititonSeqName_;
@@ -7315,7 +7273,7 @@ public final class PTableProtos {
}
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public com.google.protobuf.ByteString
getAutoParititonSeqNameBytes() {
@@ -7331,88 +7289,979 @@ public final class PTableProtos {
}
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public Builder setAutoParititonSeqName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x40000000;
+ bitField0_ |= 0x20000000;
autoParititonSeqName_ = value;
onChanged();
return this;
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public Builder clearAutoParititonSeqName() {
- bitField0_ = (bitField0_ & ~0x40000000);
+ bitField0_ = (bitField0_ & ~0x20000000);
autoParititonSeqName_ = getDefaultInstance().getAutoParititonSeqName();
onChanged();
return this;
}
/**
- * <code>optional string autoParititonSeqName = 31;</code>
+ * <code>optional string autoParititonSeqName = 32;</code>
*/
public Builder setAutoParititonSeqNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x40000000;
+ bitField0_ |= 0x20000000;
autoParititonSeqName_ = value;
onChanged();
return this;
}
- // optional bool isAppendOnlySchema = 32;
+ // optional bool isAppendOnlySchema = 33;
private boolean isAppendOnlySchema_ ;
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public boolean hasIsAppendOnlySchema() {
- return ((bitField0_ & 0x80000000) == 0x80000000);
+ return ((bitField0_ & 0x40000000) == 0x40000000);
}
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public boolean getIsAppendOnlySchema() {
return isAppendOnlySchema_;
}
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public Builder setIsAppendOnlySchema(boolean value) {
- bitField0_ |= 0x80000000;
+ bitField0_ |= 0x40000000;
isAppendOnlySchema_ = value;
onChanged();
return this;
}
/**
- * <code>optional bool isAppendOnlySchema = 32;</code>
+ * <code>optional bool isAppendOnlySchema = 33;</code>
*/
public Builder clearIsAppendOnlySchema() {
- bitField0_ = (bitField0_ & ~0x80000000);
+ bitField0_ = (bitField0_ & ~0x40000000);
isAppendOnlySchema_ = false;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:PTable)
- }
+ // optional bytes storageScheme = 34;
+ private com.google.protobuf.ByteString storageScheme_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public boolean hasStorageScheme() {
+ return ((bitField0_ & 0x80000000) == 0x80000000);
+ }
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public com.google.protobuf.ByteString getStorageScheme() {
+ return storageScheme_;
+ }
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public Builder setStorageScheme(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x80000000;
+ storageScheme_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional bytes storageScheme = 34;</code>
+ */
+ public Builder clearStorageScheme() {
+ bitField0_ = (bitField0_ & ~0x80000000);
+ storageScheme_ = getDefaultInstance().getStorageScheme();
+ onChanged();
+ return this;
+ }
- static {
- defaultInstance = new PTable(true);
- defaultInstance.initFields();
- }
+ // repeated .EncodedCQCounter encodedCQCounters = 35;
+ private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter> encodedCQCounters_ =
+ java.util.Collections.emptyList();
+ private void ensureEncodedCQCountersIsMutable() {
+ if (!((bitField1_ & 0x00000001) == 0x00000001)) {
+ encodedCQCounters_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter>(encodedCQCounters_);
+ bitField1_ |= 0x00000001;
+ }
+ }
- // @@protoc_insertion_point(class_scope:PTable)
- }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder> encodedCQCountersBuilder_;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_PColumn_descriptor;
- private static
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter> getEncodedCQCountersList() {
+ if (encodedCQCountersBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(encodedCQCounters_);
+ } else {
+ return encodedCQCountersBuilder_.getMessageList();
+ }
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public int getEncodedCQCountersCount() {
+ if (encodedCQCountersBuilder_ == null) {
+ return encodedCQCounters_.size();
+ } else {
+ return encodedCQCountersBuilder_.getCount();
+ }
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter getEncodedCQCounters(int index) {
+ if (encodedCQCountersBuilder_ == null) {
+ return encodedCQCounters_.get(index);
+ } else {
+ return encodedCQCountersBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder setEncodedCQCounters(
+ int index, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter value) {
+ if (encodedCQCountersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.set(index, value);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder setEncodedCQCounters(
+ int index, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder builderForValue) {
+ if (encodedCQCountersBuilder_ == null) {
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder addEncodedCQCounters(org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter value) {
+ if (encodedCQCountersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.add(value);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder addEncodedCQCounters(
+ int index, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter value) {
+ if (encodedCQCountersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.add(index, value);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder addEncodedCQCounters(
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder builderForValue) {
+ if (encodedCQCountersBuilder_ == null) {
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.add(builderForValue.build());
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder addEncodedCQCounters(
+ int index, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder builderForValue) {
+ if (encodedCQCountersBuilder_ == null) {
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder addAllEncodedCQCounters(
+ java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter> values) {
+ if (encodedCQCountersBuilder_ == null) {
+ ensureEncodedCQCountersIsMutable();
+ super.addAll(values, encodedCQCounters_);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder clearEncodedCQCounters() {
+ if (encodedCQCountersBuilder_ == null) {
+ encodedCQCounters_ = java.util.Collections.emptyList();
+ bitField1_ = (bitField1_ & ~0x00000001);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public Builder removeEncodedCQCounters(int index) {
+ if (encodedCQCountersBuilder_ == null) {
+ ensureEncodedCQCountersIsMutable();
+ encodedCQCounters_.remove(index);
+ onChanged();
+ } else {
+ encodedCQCountersBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder getEncodedCQCountersBuilder(
+ int index) {
+ return getEncodedCQCountersFieldBuilder().getBuilder(index);
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder getEncodedCQCountersOrBuilder(
+ int index) {
+ if (encodedCQCountersBuilder_ == null) {
+ return encodedCQCounters_.get(index); } else {
+ return encodedCQCountersBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder>
+ getEncodedCQCountersOrBuilderList() {
+ if (encodedCQCountersBuilder_ != null) {
+ return encodedCQCountersBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(encodedCQCounters_);
+ }
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder addEncodedCQCountersBuilder() {
+ return getEncodedCQCountersFieldBuilder().addBuilder(
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.getDefaultInstance());
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder addEncodedCQCountersBuilder(
+ int index) {
+ return getEncodedCQCountersFieldBuilder().addBuilder(
+ index, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.getDefaultInstance());
+ }
+ /**
+ * <code>repeated .EncodedCQCounter encodedCQCounters = 35;</code>
+ */
+ public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder>
+ getEncodedCQCountersBuilderList() {
+ return getEncodedCQCountersFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder>
+ getEncodedCQCountersFieldBuilder() {
+ if (encodedCQCountersBuilder_ == null) {
+ encodedCQCountersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounter.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.EncodedCQCounterOrBuilder>(
+ encodedCQCounters_,
+ ((bitField1_ & 0x00000001) == 0x00000001),
+ getParentForChildren(),
+ isClean());
+ encodedCQCounters_ = null;
+ }
+ return encodedCQCountersBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:PTable)
+ }
+
+ static {
+ defaultInstance = new PTable(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:PTable)
+ }
+
+ public interface EncodedCQCounterOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required string colFamily = 1;
+ /**
+ * <code>required string colFamily = 1;</code>
+ */
+ boolean hasColFamily();
+ /**
+ * <code>required string colFamily = 1;</code>
+ */
+ java.lang.String getColFamily();
+ /**
+ * <code>required string colFamily = 1;</code>
+ */
+ com.google.protobuf.ByteString
+ getColFamilyBytes();
+
+ // required int32 counter = 2;
+ /**
+ * <code>required int32 counter = 2;</code>
+ */
+ boolean hasCounter();
+ /**
+ * <code>required int32 counter = 2;</code>
+ */
+ int getCounter();
+ }
+ /**
+ * Protobuf type {@code EncodedCQCounter}
+ */
+ public static final class EncodedCQCounter extends
+ com.google.protobuf.GeneratedMessage
+ implements EncodedCQCounterOrBuilder {
+ // Use EncodedCQCounter.newBuilder() to construct.
+ private EncodedCQCounter(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private EncodedCQCounter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final EncodedCQCounter defaultInstance;
+ public static EncodedCQCounter getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public EncodedCQCounter getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private EncodedCQCounter(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.go
<TRUNCATED>