HBASE-25568 Upgrade Thrift jar to fix CVE-2020-13949 (#3084)
Signed-off-by: stack <stack@apache.com> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
a11220d3bf
commit
dd1d0e8aba
|
@ -58,7 +58,7 @@ Example code.
|
|||
|
||||
* CPP: hbase-examples/src/main/cpp/DemoClient.cpp
|
||||
1. Make sure you have Thrift C++ libraries; modify Makefile if necessary.
|
||||
The recent (0.13.0 as of this writing) version of Thrift can be downloaded from http://thrift.apache.org/download/.
|
||||
The recent (0.14.1 as of this writing) version of Thrift can be downloaded from http://thrift.apache.org/download/.
|
||||
2. Execute {make}.
|
||||
3. Execute {./DemoClient <host> <port>}.
|
||||
|
||||
|
|
|
@ -35,12 +35,13 @@ import org.apache.hadoop.hbase.thrift2.generated.TPut;
|
|||
import org.apache.hadoop.hbase.thrift2.generated.TResult;
|
||||
import org.apache.hadoop.hbase.util.Bytes;
|
||||
import org.apache.hadoop.hbase.util.ClientUtils;
|
||||
import org.apache.thrift.TConfiguration;
|
||||
import org.apache.thrift.protocol.TBinaryProtocol;
|
||||
import org.apache.thrift.protocol.TProtocol;
|
||||
import org.apache.thrift.transport.TFramedTransport;
|
||||
import org.apache.thrift.transport.TSaslClientTransport;
|
||||
import org.apache.thrift.transport.TSocket;
|
||||
import org.apache.thrift.transport.TTransport;
|
||||
import org.apache.thrift.transport.layered.TFramedTransport;
|
||||
import org.apache.yetus.audience.InterfaceAudience;
|
||||
|
||||
@InterfaceAudience.Private
|
||||
|
@ -91,7 +92,7 @@ public class DemoClient {
|
|||
int timeout = 10000;
|
||||
boolean framed = false;
|
||||
|
||||
TTransport transport = new TSocket(host, port, timeout);
|
||||
TTransport transport = new TSocket(new TConfiguration(), host, port, timeout);
|
||||
if (framed) {
|
||||
transport = new TFramedTransport(transport);
|
||||
} else if (secure) {
|
||||
|
|
|
@ -340,12 +340,12 @@
|
|||
<requireProperty>
|
||||
<property>thrift.version</property>
|
||||
<message>"The Thrift version must be specified."</message>
|
||||
<regex>0\.13\.0</regex>
|
||||
<regex>0\.14\.1</regex>
|
||||
<regexMessage>
|
||||
-
|
||||
-
|
||||
[FATAL] ==========================================================================================
|
||||
[FATAL] HBase Thrift requires the thrift generator version 0.13.0.
|
||||
[FATAL] HBase Thrift requires the thrift generator version 0.14.1.
|
||||
[FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility.
|
||||
[FATAL] ==========================================================================================
|
||||
-
|
||||
|
|
|
@ -120,13 +120,13 @@ import org.apache.thrift.server.TNonblockingServer;
|
|||
import org.apache.thrift.server.TServer;
|
||||
import org.apache.thrift.server.TServlet;
|
||||
import org.apache.thrift.server.TThreadedSelectorServer;
|
||||
import org.apache.thrift.transport.TFramedTransport;
|
||||
import org.apache.thrift.transport.TNonblockingServerSocket;
|
||||
import org.apache.thrift.transport.TNonblockingServerTransport;
|
||||
import org.apache.thrift.transport.TSaslServerTransport;
|
||||
import org.apache.thrift.transport.TServerSocket;
|
||||
import org.apache.thrift.transport.TServerTransport;
|
||||
import org.apache.thrift.transport.TTransportFactory;
|
||||
import org.apache.thrift.transport.layered.TFramedTransport;
|
||||
import org.apache.yetus.audience.InterfaceAudience;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -481,7 +481,7 @@ public class ThriftServer extends Configured implements Tool {
|
|||
+ " doesn't work with framed transport yet");
|
||||
}
|
||||
transportFactory = new TFramedTransport.Factory(
|
||||
conf.getInt(MAX_FRAME_SIZE_CONF_KEY, MAX_FRAME_SIZE_CONF_DEFAULT) * 1024 * 1024);
|
||||
conf.getInt(MAX_FRAME_SIZE_CONF_KEY, MAX_FRAME_SIZE_CONF_DEFAULT) * 1024 * 1024);
|
||||
LOG.debug("Using framed transport");
|
||||
} else if (qop == null) {
|
||||
transportFactory = new TTransportFactory();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* An AlreadyExists exceptions signals that a table with the specified
|
||||
* name already exists
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class AlreadyExists extends org.apache.thrift.TException implements org.apache.thrift.TBase<AlreadyExists, AlreadyExists._Fields>, java.io.Serializable, Cloneable, Comparable<AlreadyExists> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AlreadyExists");
|
||||
|
||||
|
@ -183,8 +183,6 @@ public class AlreadyExists extends org.apache.thrift.TException implements org.a
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof AlreadyExists)
|
||||
return this.equals((AlreadyExists)that);
|
||||
return false;
|
||||
|
@ -227,7 +225,7 @@ public class AlreadyExists extends org.apache.thrift.TException implements org.a
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* A BatchMutation object is used to apply a number of Mutations to a single row.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class BatchMutation implements org.apache.thrift.TBase<BatchMutation, BatchMutation._Fields>, java.io.Serializable, Cloneable, Comparable<BatchMutation> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BatchMutation");
|
||||
|
||||
|
@ -267,8 +267,6 @@ public class BatchMutation implements org.apache.thrift.TBase<BatchMutation, Bat
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof BatchMutation)
|
||||
return this.equals((BatchMutation)that);
|
||||
return false;
|
||||
|
@ -324,7 +322,7 @@ public class BatchMutation implements org.apache.thrift.TBase<BatchMutation, Bat
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -334,7 +332,7 @@ public class BatchMutation implements org.apache.thrift.TBase<BatchMutation, Bat
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -531,7 +529,7 @@ public class BatchMutation implements org.apache.thrift.TBase<BatchMutation, Bat
|
|||
}
|
||||
if (incoming.get(1)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.mutations = new java.util.ArrayList<Mutation>(_list5.size);
|
||||
@org.apache.thrift.annotation.Nullable Mutation _elem6;
|
||||
for (int _i7 = 0; _i7 < _list5.size; ++_i7)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* such as the number of versions, compression settings, etc. It is
|
||||
* used as input when creating a table or adding a column.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescriptor, ColumnDescriptor._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnDescriptor> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnDescriptor");
|
||||
|
||||
|
@ -619,8 +619,6 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof ColumnDescriptor)
|
||||
return this.equals((ColumnDescriptor)that);
|
||||
return false;
|
||||
|
@ -755,7 +753,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -765,7 +763,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -775,7 +773,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCompression()).compareTo(other.isSetCompression());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCompression(), other.isSetCompression());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -785,7 +783,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetInMemory()).compareTo(other.isSetInMemory());
|
||||
lastComparison = java.lang.Boolean.compare(isSetInMemory(), other.isSetInMemory());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -795,7 +793,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterType()).compareTo(other.isSetBloomFilterType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBloomFilterType(), other.isSetBloomFilterType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -805,7 +803,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterVectorSize()).compareTo(other.isSetBloomFilterVectorSize());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBloomFilterVectorSize(), other.isSetBloomFilterVectorSize());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -815,7 +813,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterNbHashes()).compareTo(other.isSetBloomFilterNbHashes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBloomFilterNbHashes(), other.isSetBloomFilterNbHashes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -825,7 +823,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBlockCacheEnabled()).compareTo(other.isSetBlockCacheEnabled());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBlockCacheEnabled(), other.isSetBlockCacheEnabled());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -835,7 +833,7 @@ public class ColumnDescriptor implements org.apache.thrift.TBase<ColumnDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimeToLive()).compareTo(other.isSetTimeToLive());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimeToLive(), other.isSetTimeToLive());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* to the Hbase master or an Hbase region server. Also used to return
|
||||
* more general Hbase error conditions.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class IOError extends org.apache.thrift.TException implements org.apache.thrift.TBase<IOError, IOError._Fields>, java.io.Serializable, Cloneable, Comparable<IOError> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IOError");
|
||||
|
||||
|
@ -184,8 +184,6 @@ public class IOError extends org.apache.thrift.TException implements org.apache.
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof IOError)
|
||||
return this.equals((IOError)that);
|
||||
return false;
|
||||
|
@ -228,7 +226,7 @@ public class IOError extends org.apache.thrift.TException implements org.apache.
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* An IllegalArgument exception indicates an illegal or invalid
|
||||
* argument was passed into a procedure.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class IllegalArgument extends org.apache.thrift.TException implements org.apache.thrift.TBase<IllegalArgument, IllegalArgument._Fields>, java.io.Serializable, Cloneable, Comparable<IllegalArgument> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IllegalArgument");
|
||||
|
||||
|
@ -183,8 +183,6 @@ public class IllegalArgument extends org.apache.thrift.TException implements org
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof IllegalArgument)
|
||||
return this.equals((IllegalArgument)that);
|
||||
return false;
|
||||
|
@ -227,7 +225,7 @@ public class IllegalArgument extends org.apache.thrift.TException implements org
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* A Mutation object is used to either update or delete a column-value.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fields>, java.io.Serializable, Cloneable, Comparable<Mutation> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Mutation");
|
||||
|
||||
|
@ -365,8 +365,6 @@ public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fie
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof Mutation)
|
||||
return this.equals((Mutation)that);
|
||||
return false;
|
||||
|
@ -444,7 +442,7 @@ public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fie
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetIsDelete()).compareTo(other.isSetIsDelete());
|
||||
lastComparison = java.lang.Boolean.compare(isSetIsDelete(), other.isSetIsDelete());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -454,7 +452,7 @@ public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fie
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -464,7 +462,7 @@ public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fie
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
|
||||
lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -474,7 +472,7 @@ public class Mutation implements org.apache.thrift.TBase<Mutation, Mutation._Fie
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetWriteToWAL()).compareTo(other.isSetWriteToWAL());
|
||||
lastComparison = java.lang.Boolean.compare(isSetWriteToWAL(), other.isSetWriteToWAL());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* An Append object is used to specify the parameters for performing the append operation.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields>, java.io.Serializable, Cloneable, Comparable<TAppend> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAppend");
|
||||
|
||||
|
@ -403,8 +403,6 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TAppend)
|
||||
return this.equals((TAppend)that);
|
||||
return false;
|
||||
|
@ -486,7 +484,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -496,7 +494,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -506,7 +504,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -516,7 +514,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
|
||||
lastComparison = java.lang.Boolean.compare(isSetValues(), other.isSetValues());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -793,7 +791,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
}
|
||||
if (incoming.get(2)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list44 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list44 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
|
||||
struct.columns = new java.util.ArrayList<java.nio.ByteBuffer>(_list44.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem45;
|
||||
for (int _i46 = 0; _i46 < _list44.size; ++_i46)
|
||||
|
@ -806,7 +804,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
}
|
||||
if (incoming.get(3)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list47 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list47 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
|
||||
struct.values = new java.util.ArrayList<java.nio.ByteBuffer>(_list47.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem48;
|
||||
for (int _i49 = 0; _i49 < _list47.size; ++_i49)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -13,7 +13,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* the timestamp of a cell to a first-class value, making it easy to take
|
||||
* note of temporal data. Cell is used all the way from HStore up to HTable.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TCell implements org.apache.thrift.TBase<TCell, TCell._Fields>, java.io.Serializable, Cloneable, Comparable<TCell> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCell");
|
||||
|
||||
|
@ -250,8 +250,6 @@ public class TCell implements org.apache.thrift.TBase<TCell, TCell._Fields>, jav
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TCell)
|
||||
return this.equals((TCell)that);
|
||||
return false;
|
||||
|
@ -305,7 +303,7 @@ public class TCell implements org.apache.thrift.TBase<TCell, TCell._Fields>, jav
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
|
||||
lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -315,7 +313,7 @@ public class TCell implements org.apache.thrift.TBase<TCell, TCell._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* Holds column name and the cell.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TColumn> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn");
|
||||
|
||||
|
@ -246,8 +246,6 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TColumn)
|
||||
return this.equals((TColumn)that);
|
||||
return false;
|
||||
|
@ -303,7 +301,7 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumnName(), other.isSetColumnName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -313,7 +311,7 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCell()).compareTo(other.isSetCell());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCell(), other.isSetCell());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
* For increments that are not incrementColumnValue
|
||||
* equivalents.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncrement._Fields>, java.io.Serializable, Cloneable, Comparable<TIncrement> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIncrement");
|
||||
|
||||
|
@ -376,8 +376,6 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TIncrement)
|
||||
return this.equals((TIncrement)that);
|
||||
return false;
|
||||
|
@ -457,7 +455,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -467,7 +465,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -477,7 +475,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -487,7 +485,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAmmount()).compareTo(other.isSetAmmount());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAmmount(), other.isSetAmmount());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* A TRegionInfo contains information about an HTable region.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegionInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TRegionInfo> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRegionInfo");
|
||||
|
||||
|
@ -539,8 +539,6 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TRegionInfo)
|
||||
return this.equals((TRegionInfo)that);
|
||||
return false;
|
||||
|
@ -655,7 +653,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartKey()).compareTo(other.isSetStartKey());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartKey(), other.isSetStartKey());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -665,7 +663,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetEndKey()).compareTo(other.isSetEndKey());
|
||||
lastComparison = java.lang.Boolean.compare(isSetEndKey(), other.isSetEndKey());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -675,7 +673,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId());
|
||||
lastComparison = java.lang.Boolean.compare(isSetId(), other.isSetId());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -685,7 +683,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -695,7 +693,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion());
|
||||
lastComparison = java.lang.Boolean.compare(isSetVersion(), other.isSetVersion());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -705,7 +703,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetServerName(), other.isSetServerName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -715,7 +713,7 @@ public class TRegionInfo implements org.apache.thrift.TBase<TRegionInfo, TRegion
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetPort()).compareTo(other.isSetPort());
|
||||
lastComparison = java.lang.Boolean.compare(isSetPort(), other.isSetPort());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* Holds row name and then a map of columns to cells.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResult._Fields>, java.io.Serializable, Cloneable, Comparable<TRowResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowResult");
|
||||
|
||||
|
@ -340,8 +340,6 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TRowResult)
|
||||
return this.equals((TRowResult)that);
|
||||
return false;
|
||||
|
@ -410,7 +408,7 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -420,7 +418,7 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -430,7 +428,7 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetSortedColumns()).compareTo(other.isSetSortedColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetSortedColumns(), other.isSetSortedColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -690,7 +688,7 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
}
|
||||
if (incoming.get(1)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map19 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map19 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.HashMap<java.nio.ByteBuffer,TCell>(2*_map19.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20;
|
||||
@org.apache.thrift.annotation.Nullable TCell _val21;
|
||||
|
@ -706,7 +704,7 @@ public class TRowResult implements org.apache.thrift.TBase<TRowResult, TRowResul
|
|||
}
|
||||
if (incoming.get(2)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list23 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list23 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.sortedColumns = new java.util.ArrayList<TColumn>(_list23.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumn _elem24;
|
||||
for (int _i25 = 0; _i25 < _list23.size; ++_i25)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* A Scan object is used to specify scanner parameters when opening a scanner.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, java.io.Serializable, Cloneable, Comparable<TScan> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TScan");
|
||||
|
||||
|
@ -667,8 +667,6 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TScan)
|
||||
return this.equals((TScan)that);
|
||||
return false;
|
||||
|
@ -828,7 +826,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -838,7 +836,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -848,7 +846,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -858,7 +856,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -868,7 +866,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCaching()).compareTo(other.isSetCaching());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCaching(), other.isSetCaching());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -878,7 +876,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -888,7 +886,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBatchSize()).compareTo(other.isSetBatchSize());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBatchSize(), other.isSetBatchSize());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -898,7 +896,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetSortColumns()).compareTo(other.isSetSortColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetSortColumns(), other.isSetSortColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -908,7 +906,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReversed()).compareTo(other.isSetReversed());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReversed(), other.isSetReversed());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -918,7 +916,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1344,7 +1342,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
}
|
||||
if (incoming.get(3)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list31 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list31 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
|
||||
struct.columns = new java.util.ArrayList<java.nio.ByteBuffer>(_list31.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem32;
|
||||
for (int _i33 = 0; _i33 < _list31.size; ++_i33)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated;
|
|||
/**
|
||||
* Specify type of thrift server: thrift and thrift2
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TThriftServerType implements org.apache.thrift.TEnum {
|
||||
ONE(1),
|
||||
TWO(2);
|
||||
|
|
|
@ -58,11 +58,11 @@ import org.apache.http.protocol.HttpContext;
|
|||
import org.apache.thrift.protocol.TBinaryProtocol;
|
||||
import org.apache.thrift.protocol.TCompactProtocol;
|
||||
import org.apache.thrift.protocol.TProtocol;
|
||||
import org.apache.thrift.transport.TFramedTransport;
|
||||
import org.apache.thrift.transport.THttpClient;
|
||||
import org.apache.thrift.transport.TSocket;
|
||||
import org.apache.thrift.transport.TTransport;
|
||||
import org.apache.thrift.transport.TTransportException;
|
||||
import org.apache.thrift.transport.layered.TFramedTransport;
|
||||
import org.apache.yetus.audience.InterfaceAudience;
|
||||
|
||||
import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;
|
||||
|
@ -160,14 +160,16 @@ public class ThriftConnection implements Connection {
|
|||
|
||||
@Override
|
||||
public Pair<THBaseService.Client, TTransport> getClient() throws IOException {
|
||||
TSocket sock = new TSocket(connection.getHost(), connection.getPort());
|
||||
sock.setSocketTimeout(connection.getOperationTimeout());
|
||||
sock.setConnectTimeout(connection.getConnectTimeout());
|
||||
TTransport tTransport = sock;
|
||||
if (connection.isFramed()) {
|
||||
tTransport = new TFramedTransport(tTransport);
|
||||
}
|
||||
TTransport tTransport = null;
|
||||
try {
|
||||
TSocket sock = new TSocket(connection.getHost(), connection.getPort());
|
||||
sock.setSocketTimeout(connection.getOperationTimeout());
|
||||
sock.setConnectTimeout(connection.getConnectTimeout());
|
||||
tTransport = sock;
|
||||
if (connection.isFramed()) {
|
||||
tTransport = new TFramedTransport(tTransport);
|
||||
}
|
||||
|
||||
sock.open();
|
||||
} catch (TTransportException e) {
|
||||
throw new IOException(e);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields>, java.io.Serializable, Cloneable, Comparable<TAppend> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAppend");
|
||||
|
||||
|
@ -491,8 +491,6 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TAppend)
|
||||
return this.equals((TAppend)that);
|
||||
return false;
|
||||
|
@ -600,7 +598,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -610,7 +608,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -620,7 +618,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -630,7 +628,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -640,7 +638,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -650,7 +648,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReturnResults()).compareTo(other.isSetReturnResults());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReturnResults(), other.isSetReturnResults());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -990,7 +988,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
struct.row = iprot.readBinary();
|
||||
struct.setRowIsSet(true);
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list99 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumnValue>(_list99.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumnValue _elem100;
|
||||
for (int _i101 = 0; _i101 < _list99.size; ++_i101)
|
||||
|
@ -1004,7 +1002,7 @@ public class TAppend implements org.apache.thrift.TBase<TAppend, TAppend._Fields
|
|||
java.util.BitSet incoming = iprot.readBitSet(4);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map102 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map102 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map102.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key103;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val104;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TAuthorization implements org.apache.thrift.TBase<TAuthorization, TAuthorization._Fields>, java.io.Serializable, Cloneable, Comparable<TAuthorization> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAuthorization");
|
||||
|
||||
|
@ -191,8 +191,6 @@ public class TAuthorization implements org.apache.thrift.TBase<TAuthorization, T
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TAuthorization)
|
||||
return this.equals((TAuthorization)that);
|
||||
return false;
|
||||
|
@ -235,7 +233,7 @@ public class TAuthorization implements org.apache.thrift.TBase<TAuthorization, T
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetLabels()).compareTo(other.isSetLabels());
|
||||
lastComparison = java.lang.Boolean.compare(isSetLabels(), other.isSetLabels());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -404,7 +402,7 @@ public class TAuthorization implements org.apache.thrift.TBase<TAuthorization, T
|
|||
java.util.BitSet incoming = iprot.readBitSet(1);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list13 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
|
||||
struct.labels = new java.util.ArrayList<java.lang.String>(_list13.size);
|
||||
@org.apache.thrift.annotation.Nullable java.lang.String _elem14;
|
||||
for (int _i15 = 0; _i15 < _list13.size; ++_i15)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.regionserver.BloomType
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TBloomFilterType implements org.apache.thrift.TEnum {
|
||||
/**
|
||||
* Bloomfilters disabled
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TCellVisibility implements org.apache.thrift.TBase<TCellVisibility, TCellVisibility._Fields>, java.io.Serializable, Cloneable, Comparable<TCellVisibility> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCellVisibility");
|
||||
|
||||
|
@ -173,8 +173,6 @@ public class TCellVisibility implements org.apache.thrift.TBase<TCellVisibility,
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TCellVisibility)
|
||||
return this.equals((TCellVisibility)that);
|
||||
return false;
|
||||
|
@ -217,7 +215,7 @@ public class TCellVisibility implements org.apache.thrift.TBase<TCellVisibility,
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetExpression()).compareTo(other.isSetExpression());
|
||||
lastComparison = java.lang.Boolean.compare(isSetExpression(), other.isSetExpression());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* in a HBase table by column family and optionally
|
||||
* a column qualifier and timestamp
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TColumn> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn");
|
||||
|
||||
|
@ -309,8 +309,6 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TColumn)
|
||||
return this.equals((TColumn)that);
|
||||
return false;
|
||||
|
@ -379,7 +377,7 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -389,7 +387,7 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier());
|
||||
lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -399,7 +397,7 @@ public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnFamilyDescriptor, TColumnFamilyDescriptor._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnFamilyDescriptor> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnFamilyDescriptor");
|
||||
|
||||
|
@ -1196,8 +1196,6 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TColumnFamilyDescriptor)
|
||||
return this.equals((TColumnFamilyDescriptor)that);
|
||||
return false;
|
||||
|
@ -1487,7 +1485,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1497,7 +1495,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1507,7 +1505,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration());
|
||||
lastComparison = java.lang.Boolean.compare(isSetConfiguration(), other.isSetConfiguration());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1517,7 +1515,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBlockSize()).compareTo(other.isSetBlockSize());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBlockSize(), other.isSetBlockSize());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1527,7 +1525,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBloomnFilterType()).compareTo(other.isSetBloomnFilterType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBloomnFilterType(), other.isSetBloomnFilterType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1537,7 +1535,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCompressionType()).compareTo(other.isSetCompressionType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCompressionType(), other.isSetCompressionType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1547,7 +1545,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDfsReplication()).compareTo(other.isSetDfsReplication());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDfsReplication(), other.isSetDfsReplication());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1557,7 +1555,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDataBlockEncoding()).compareTo(other.isSetDataBlockEncoding());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDataBlockEncoding(), other.isSetDataBlockEncoding());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1567,7 +1565,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetKeepDeletedCells()).compareTo(other.isSetKeepDeletedCells());
|
||||
lastComparison = java.lang.Boolean.compare(isSetKeepDeletedCells(), other.isSetKeepDeletedCells());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1577,7 +1575,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1587,7 +1585,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMinVersions()).compareTo(other.isSetMinVersions());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMinVersions(), other.isSetMinVersions());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1597,7 +1595,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetScope()).compareTo(other.isSetScope());
|
||||
lastComparison = java.lang.Boolean.compare(isSetScope(), other.isSetScope());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1607,7 +1605,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimeToLive()).compareTo(other.isSetTimeToLive());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimeToLive(), other.isSetTimeToLive());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1617,7 +1615,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBlockCacheEnabled()).compareTo(other.isSetBlockCacheEnabled());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBlockCacheEnabled(), other.isSetBlockCacheEnabled());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1627,7 +1625,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheBloomsOnWrite()).compareTo(other.isSetCacheBloomsOnWrite());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheBloomsOnWrite(), other.isSetCacheBloomsOnWrite());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1637,7 +1635,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheDataOnWrite()).compareTo(other.isSetCacheDataOnWrite());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheDataOnWrite(), other.isSetCacheDataOnWrite());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1647,7 +1645,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheIndexesOnWrite()).compareTo(other.isSetCacheIndexesOnWrite());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheIndexesOnWrite(), other.isSetCacheIndexesOnWrite());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1657,7 +1655,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCompressTags()).compareTo(other.isSetCompressTags());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCompressTags(), other.isSetCompressTags());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1667,7 +1665,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetEvictBlocksOnClose()).compareTo(other.isSetEvictBlocksOnClose());
|
||||
lastComparison = java.lang.Boolean.compare(isSetEvictBlocksOnClose(), other.isSetEvictBlocksOnClose());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1677,7 +1675,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetInMemory()).compareTo(other.isSetInMemory());
|
||||
lastComparison = java.lang.Boolean.compare(isSetInMemory(), other.isSetInMemory());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -2386,7 +2384,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
java.util.BitSet incoming = iprot.readBitSet(19);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map154 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map154 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map154.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key155;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val156;
|
||||
|
@ -2401,7 +2399,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase<TColumnF
|
|||
}
|
||||
if (incoming.get(1)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map158 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map158 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.configuration = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map158.size);
|
||||
@org.apache.thrift.annotation.Nullable java.lang.String _key159;
|
||||
@org.apache.thrift.annotation.Nullable java.lang.String _val160;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* Represents a single cell and the amount to increment it by
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TColumnIncrement implements org.apache.thrift.TBase<TColumnIncrement, TColumnIncrement._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnIncrement> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnIncrement");
|
||||
|
||||
|
@ -311,8 +311,6 @@ public class TColumnIncrement implements org.apache.thrift.TBase<TColumnIncremen
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TColumnIncrement)
|
||||
return this.equals((TColumnIncrement)that);
|
||||
return false;
|
||||
|
@ -381,7 +379,7 @@ public class TColumnIncrement implements org.apache.thrift.TBase<TColumnIncremen
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -391,7 +389,7 @@ public class TColumnIncrement implements org.apache.thrift.TBase<TColumnIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier());
|
||||
lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -401,7 +399,7 @@ public class TColumnIncrement implements org.apache.thrift.TBase<TColumnIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAmount()).compareTo(other.isSetAmount());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAmount(), other.isSetAmount());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* Represents a single cell and its value.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColumnValue._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnValue> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnValue");
|
||||
|
||||
|
@ -482,8 +482,6 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TColumnValue)
|
||||
return this.equals((TColumnValue)that);
|
||||
return false;
|
||||
|
@ -591,7 +589,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -601,7 +599,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier());
|
||||
lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -611,7 +609,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
|
||||
lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -621,7 +619,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -631,7 +629,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTags()).compareTo(other.isSetTags());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTags(), other.isSetTags());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -641,7 +639,7 @@ public class TColumnValue implements org.apache.thrift.TBase<TColumnValue, TColu
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetType()).compareTo(other.isSetType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetType(), other.isSetType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.filter.CompareFilter$CompareOp.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TCompareOp implements org.apache.thrift.TEnum {
|
||||
LESS(0),
|
||||
LESS_OR_EQUAL(1),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.io.compress.Algorithm
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TCompressionAlgorithm implements org.apache.thrift.TEnum {
|
||||
LZO(0),
|
||||
GZ(1),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* - STRONG means reads only from primary region
|
||||
* - TIMELINE means reads might return values from secondary region replicas
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TConsistency implements org.apache.thrift.TEnum {
|
||||
STRONG(1),
|
||||
TIMELINE(2);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TDataBlockEncoding implements org.apache.thrift.TEnum {
|
||||
/**
|
||||
* Disable data block encoding.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -33,7 +33,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* by changing the durability. If you don't provide durability, it defaults to
|
||||
* column family's default setting for durability.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields>, java.io.Serializable, Cloneable, Comparable<TDelete> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDelete");
|
||||
|
||||
|
@ -534,8 +534,6 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TDelete)
|
||||
return this.equals((TDelete)that);
|
||||
return false;
|
||||
|
@ -643,7 +641,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -653,7 +651,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -663,7 +661,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -673,7 +671,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDeleteType()).compareTo(other.isSetDeleteType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDeleteType(), other.isSetDeleteType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -683,7 +681,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -693,7 +691,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1037,7 +1035,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
java.util.BitSet incoming = iprot.readBitSet(5);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list63 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list63 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumn>(_list63.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumn _elem64;
|
||||
for (int _i65 = 0; _i65 < _list63.size; ++_i65)
|
||||
|
@ -1059,7 +1057,7 @@ public class TDelete implements org.apache.thrift.TBase<TDelete, TDelete._Fields
|
|||
}
|
||||
if (incoming.get(3)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map66 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map66 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map66.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key67;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val68;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* - DELETE_COLUMN means exactly one version will be removed,
|
||||
* - DELETE_COLUMNS means previous versions will also be removed.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TDeleteType implements org.apache.thrift.TEnum {
|
||||
DELETE_COLUMN(0),
|
||||
DELETE_COLUMNS(1),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -14,7 +14,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* - SYNC_WAL means write the Mutation to the WAL synchronously,
|
||||
* - FSYNC_WAL means Write the Mutation to the WAL synchronously and force the entries to disk.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TDurability implements org.apache.thrift.TEnum {
|
||||
USE_DEFAULT(0),
|
||||
SKIP_WAL(1),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TFilterByOperator implements org.apache.thrift.TEnum {
|
||||
AND(0),
|
||||
OR(1);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -20,7 +20,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* If you specify a time range and a timestamp the range is ignored.
|
||||
* Timestamps on TColumns are ignored.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.io.Serializable, Cloneable, Comparable<TGet> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGet");
|
||||
|
||||
|
@ -957,8 +957,6 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TGet)
|
||||
return this.equals((TGet)that);
|
||||
return false;
|
||||
|
@ -1183,7 +1181,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1193,7 +1191,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1203,7 +1201,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1213,7 +1211,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimeRange()).compareTo(other.isSetTimeRange());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimeRange(), other.isSetTimeRange());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1223,7 +1221,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1233,7 +1231,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1243,7 +1241,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1253,7 +1251,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAuthorizations()).compareTo(other.isSetAuthorizations());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAuthorizations(), other.isSetAuthorizations());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1263,7 +1261,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetConsistency()).compareTo(other.isSetConsistency());
|
||||
lastComparison = java.lang.Boolean.compare(isSetConsistency(), other.isSetConsistency());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1273,7 +1271,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTargetReplicaId()).compareTo(other.isSetTargetReplicaId());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTargetReplicaId(), other.isSetTargetReplicaId());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1283,7 +1281,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1293,7 +1291,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStoreLimit()).compareTo(other.isSetStoreLimit());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStoreLimit(), other.isSetStoreLimit());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1303,7 +1301,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStoreOffset()).compareTo(other.isSetStoreOffset());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStoreOffset(), other.isSetStoreOffset());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1313,7 +1311,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetExistence_only()).compareTo(other.isSetExistence_only());
|
||||
lastComparison = java.lang.Boolean.compare(isSetExistence_only(), other.isSetExistence_only());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1323,7 +1321,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterBytes()).compareTo(other.isSetFilterBytes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterBytes(), other.isSetFilterBytes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1918,7 +1916,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
java.util.BitSet incoming = iprot.readBitSet(14);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list27 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list27 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumn>(_list27.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumn _elem28;
|
||||
for (int _i29 = 0; _i29 < _list27.size; ++_i29)
|
||||
|
@ -1949,7 +1947,7 @@ public class TGet implements org.apache.thrift.TBase<TGet, TGet._Fields>, java.i
|
|||
}
|
||||
if (incoming.get(5)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map30 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map30 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map30.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key31;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val32;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THRegionInfo._Fields>, java.io.Serializable, Cloneable, Comparable<THRegionInfo> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THRegionInfo");
|
||||
|
||||
|
@ -510,8 +510,6 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof THRegionInfo)
|
||||
return this.equals((THRegionInfo)that);
|
||||
return false;
|
||||
|
@ -630,7 +628,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRegionId()).compareTo(other.isSetRegionId());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRegionId(), other.isSetRegionId());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -640,7 +638,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -650,7 +648,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartKey()).compareTo(other.isSetStartKey());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartKey(), other.isSetStartKey());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -660,7 +658,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetEndKey()).compareTo(other.isSetEndKey());
|
||||
lastComparison = java.lang.Boolean.compare(isSetEndKey(), other.isSetEndKey());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -670,7 +668,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetOffline()).compareTo(other.isSetOffline());
|
||||
lastComparison = java.lang.Boolean.compare(isSetOffline(), other.isSetOffline());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -680,7 +678,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit());
|
||||
lastComparison = java.lang.Boolean.compare(isSetSplit(), other.isSetSplit());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -690,7 +688,7 @@ public class THRegionInfo implements org.apache.thrift.TBase<THRegionInfo, THReg
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReplicaId()).compareTo(other.isSetReplicaId());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReplicaId(), other.isSetReplicaId());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class THRegionLocation implements org.apache.thrift.TBase<THRegionLocation, THRegionLocation._Fields>, java.io.Serializable, Cloneable, Comparable<THRegionLocation> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THRegionLocation");
|
||||
|
||||
|
@ -230,8 +230,6 @@ public class THRegionLocation implements org.apache.thrift.TBase<THRegionLocatio
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof THRegionLocation)
|
||||
return this.equals((THRegionLocation)that);
|
||||
return false;
|
||||
|
@ -287,7 +285,7 @@ public class THRegionLocation implements org.apache.thrift.TBase<THRegionLocatio
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetServerName(), other.isSetServerName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -297,7 +295,7 @@ public class THRegionLocation implements org.apache.thrift.TBase<THRegionLocatio
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRegionInfo()).compareTo(other.isSetRegionInfo());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRegionInfo(), other.isSetRegionInfo());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* to the HBase master or a HBase region server. Also used to return
|
||||
* more general HBase error conditions.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TIOError extends org.apache.thrift.TException implements org.apache.thrift.TBase<TIOError, TIOError._Fields>, java.io.Serializable, Cloneable, Comparable<TIOError> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIOError");
|
||||
|
||||
|
@ -178,8 +178,6 @@ public class TIOError extends org.apache.thrift.TException implements org.apache
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TIOError)
|
||||
return this.equals((TIOError)that);
|
||||
return false;
|
||||
|
@ -222,7 +220,7 @@ public class TIOError extends org.apache.thrift.TException implements org.apache
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* A TIllegalArgument exception indicates an illegal or invalid
|
||||
* argument was passed into a procedure.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TIllegalArgument extends org.apache.thrift.TException implements org.apache.thrift.TBase<TIllegalArgument, TIllegalArgument._Fields>, java.io.Serializable, Cloneable, Comparable<TIllegalArgument> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIllegalArgument");
|
||||
|
||||
|
@ -177,8 +177,6 @@ public class TIllegalArgument extends org.apache.thrift.TException implements or
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TIllegalArgument)
|
||||
return this.equals((TIllegalArgument)that);
|
||||
return false;
|
||||
|
@ -221,7 +219,7 @@ public class TIllegalArgument extends org.apache.thrift.TException implements or
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -14,7 +14,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* by changing the durability. If you don't provide durability, it defaults to
|
||||
* column family's default setting for durability.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncrement._Fields>, java.io.Serializable, Cloneable, Comparable<TIncrement> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIncrement");
|
||||
|
||||
|
@ -498,8 +498,6 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TIncrement)
|
||||
return this.equals((TIncrement)that);
|
||||
return false;
|
||||
|
@ -607,7 +605,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -617,7 +615,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -627,7 +625,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -637,7 +635,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -647,7 +645,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -657,7 +655,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReturnResults()).compareTo(other.isSetReturnResults());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReturnResults(), other.isSetReturnResults());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -997,7 +995,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
struct.row = iprot.readBinary();
|
||||
struct.setRowIsSet(true);
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list81 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list81 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumnIncrement>(_list81.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumnIncrement _elem82;
|
||||
for (int _i83 = 0; _i83 < _list81.size; ++_i83)
|
||||
|
@ -1011,7 +1009,7 @@ public class TIncrement implements org.apache.thrift.TBase<TIncrement, TIncremen
|
|||
java.util.BitSet incoming = iprot.readBitSet(4);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map84 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map84.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key85;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val86;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.KeepDeletedCells
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TKeepDeletedCells implements org.apache.thrift.TEnum {
|
||||
/**
|
||||
* Deleted Cells are not retained.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.client.LogQueryFilter
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter, TLogQueryFilter._Fields>, java.io.Serializable, Cloneable, Comparable<TLogQueryFilter> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TLogQueryFilter");
|
||||
|
||||
|
@ -511,8 +511,6 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TLogQueryFilter)
|
||||
return this.equals((TLogQueryFilter)that);
|
||||
return false;
|
||||
|
@ -633,7 +631,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRegionName()).compareTo(other.isSetRegionName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRegionName(), other.isSetRegionName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -643,7 +641,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetClientAddress()).compareTo(other.isSetClientAddress());
|
||||
lastComparison = java.lang.Boolean.compare(isSetClientAddress(), other.isSetClientAddress());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -653,7 +651,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -663,7 +661,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetUserName(), other.isSetUserName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -673,7 +671,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetLimit()).compareTo(other.isSetLimit());
|
||||
lastComparison = java.lang.Boolean.compare(isSetLimit(), other.isSetLimit());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -683,7 +681,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetLogType()).compareTo(other.isSetLogType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetLogType(), other.isSetLogType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -693,7 +691,7 @@ public class TLogQueryFilter implements org.apache.thrift.TBase<TLogQueryFilter,
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterByOperator()).compareTo(other.isSetFilterByOperator());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterByOperator(), other.isSetFilterByOperator());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TLogType implements org.apache.thrift.TEnum {
|
||||
SLOW_LOG(1),
|
||||
LARGE_LOG(2);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* Atomic mutation for the specified row. It can be either Put or Delete.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TMutation extends org.apache.thrift.TUnion<TMutation, TMutation._Fields> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMutation");
|
||||
private static final org.apache.thrift.protocol.TField PUT_FIELD_DESC = new org.apache.thrift.protocol.TField("put", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
||||
|
@ -262,9 +262,8 @@ public class TMutation extends org.apache.thrift.TUnion<TMutation, TMutation._Fi
|
|||
}
|
||||
|
||||
public void setPut(TPut value) {
|
||||
if (value == null) throw new java.lang.NullPointerException();
|
||||
setField_ = _Fields.PUT;
|
||||
value_ = value;
|
||||
value_ = java.util.Objects.requireNonNull(value,"_Fields.PUT");
|
||||
}
|
||||
|
||||
public TDelete getDeleteSingle() {
|
||||
|
@ -276,9 +275,8 @@ public class TMutation extends org.apache.thrift.TUnion<TMutation, TMutation._Fi
|
|||
}
|
||||
|
||||
public void setDeleteSingle(TDelete value) {
|
||||
if (value == null) throw new java.lang.NullPointerException();
|
||||
setField_ = _Fields.DELETE_SINGLE;
|
||||
value_ = value;
|
||||
value_ = java.util.Objects.requireNonNull(value,"_Fields.DELETE_SINGLE");
|
||||
}
|
||||
|
||||
public boolean isSetPut() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.NamespaceDescriptor
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TNamespaceDescriptor implements org.apache.thrift.TBase<TNamespaceDescriptor, TNamespaceDescriptor._Fields>, java.io.Serializable, Cloneable, Comparable<TNamespaceDescriptor> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TNamespaceDescriptor");
|
||||
|
||||
|
@ -247,8 +247,6 @@ public class TNamespaceDescriptor implements org.apache.thrift.TBase<TNamespaceD
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TNamespaceDescriptor)
|
||||
return this.equals((TNamespaceDescriptor)that);
|
||||
return false;
|
||||
|
@ -304,7 +302,7 @@ public class TNamespaceDescriptor implements org.apache.thrift.TBase<TNamespaceD
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -314,7 +312,7 @@ public class TNamespaceDescriptor implements org.apache.thrift.TBase<TNamespaceD
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration());
|
||||
lastComparison = java.lang.Boolean.compare(isSetConfiguration(), other.isSetConfiguration());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -514,7 +512,7 @@ public class TNamespaceDescriptor implements org.apache.thrift.TBase<TNamespaceD
|
|||
java.util.BitSet incoming = iprot.readBitSet(1);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map186 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.configuration = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map186.size);
|
||||
@org.apache.thrift.annotation.Nullable java.lang.String _key187;
|
||||
@org.apache.thrift.annotation.Nullable java.lang.String _val188;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.client.OnlineLogRecordrd
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecord, TOnlineLogRecord._Fields>, java.io.Serializable, Cloneable, Comparable<TOnlineLogRecord> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOnlineLogRecord");
|
||||
|
||||
|
@ -840,8 +840,6 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TOnlineLogRecord)
|
||||
return this.equals((TOnlineLogRecord)that);
|
||||
return false;
|
||||
|
@ -1039,7 +1037,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartTime()).compareTo(other.isSetStartTime());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartTime(), other.isSetStartTime());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1049,7 +1047,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetProcessingTime()).compareTo(other.isSetProcessingTime());
|
||||
lastComparison = java.lang.Boolean.compare(isSetProcessingTime(), other.isSetProcessingTime());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1059,7 +1057,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetQueueTime()).compareTo(other.isSetQueueTime());
|
||||
lastComparison = java.lang.Boolean.compare(isSetQueueTime(), other.isSetQueueTime());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1069,7 +1067,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetResponseSize()).compareTo(other.isSetResponseSize());
|
||||
lastComparison = java.lang.Boolean.compare(isSetResponseSize(), other.isSetResponseSize());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1079,7 +1077,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetClientAddress()).compareTo(other.isSetClientAddress());
|
||||
lastComparison = java.lang.Boolean.compare(isSetClientAddress(), other.isSetClientAddress());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1089,7 +1087,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetServerClass()).compareTo(other.isSetServerClass());
|
||||
lastComparison = java.lang.Boolean.compare(isSetServerClass(), other.isSetServerClass());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1099,7 +1097,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMethodName()).compareTo(other.isSetMethodName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMethodName(), other.isSetMethodName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1109,7 +1107,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCallDetails()).compareTo(other.isSetCallDetails());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCallDetails(), other.isSetCallDetails());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1119,7 +1117,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetParam()).compareTo(other.isSetParam());
|
||||
lastComparison = java.lang.Boolean.compare(isSetParam(), other.isSetParam());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1129,7 +1127,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetUserName(), other.isSetUserName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1139,7 +1137,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMultiGetsCount()).compareTo(other.isSetMultiGetsCount());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMultiGetsCount(), other.isSetMultiGetsCount());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1149,7 +1147,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMultiMutationsCount()).compareTo(other.isSetMultiMutationsCount());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMultiMutationsCount(), other.isSetMultiMutationsCount());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1159,7 +1157,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMultiServiceCalls()).compareTo(other.isSetMultiServiceCalls());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMultiServiceCalls(), other.isSetMultiServiceCalls());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1169,7 +1167,7 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase<TOnlineLogRecor
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRegionName()).compareTo(other.isSetRegionName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRegionName(), other.isSetRegionName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -19,7 +19,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* by changing the durability. If you don't provide durability, it defaults to
|
||||
* column family's default setting for durability.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.io.Serializable, Cloneable, Comparable<TPut> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPut");
|
||||
|
||||
|
@ -503,8 +503,6 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TPut)
|
||||
return this.equals((TPut)that);
|
||||
return false;
|
||||
|
@ -612,7 +610,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -622,7 +620,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumnValues()).compareTo(other.isSetColumnValues());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumnValues(), other.isSetColumnValues());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -632,7 +630,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -642,7 +640,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -652,7 +650,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -662,7 +660,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1002,7 +1000,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
struct.row = iprot.readBinary();
|
||||
struct.setRowIsSet(true);
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list45 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list45 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columnValues = new java.util.ArrayList<TColumnValue>(_list45.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumnValue _elem46;
|
||||
for (int _i47 = 0; _i47 < _list45.size; ++_i47)
|
||||
|
@ -1020,7 +1018,7 @@ public class TPut implements org.apache.thrift.TBase<TPut, TPut._Fields>, java.i
|
|||
}
|
||||
if (incoming.get(1)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map48 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map48 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map48.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key49;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val50;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TReadType implements org.apache.thrift.TEnum {
|
||||
DEFAULT(1),
|
||||
STREAM(2),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* if no Result is found, row and columnValues will not be set.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields>, java.io.Serializable, Cloneable, Comparable<TResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TResult");
|
||||
|
||||
|
@ -366,8 +366,6 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TResult)
|
||||
return this.equals((TResult)that);
|
||||
return false;
|
||||
|
@ -449,7 +447,7 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -459,7 +457,7 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumnValues()).compareTo(other.isSetColumnValues());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumnValues(), other.isSetColumnValues());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -469,7 +467,7 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStale()).compareTo(other.isSetStale());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStale(), other.isSetStale());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -479,7 +477,7 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetPartial()).compareTo(other.isSetPartial());
|
||||
lastComparison = java.lang.Boolean.compare(isSetPartial(), other.isSetPartial());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -724,7 +722,7 @@ public class TResult implements org.apache.thrift.TBase<TResult, TResult._Fields
|
|||
public void read(org.apache.thrift.protocol.TProtocol prot, TResult struct) throws org.apache.thrift.TException {
|
||||
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columnValues = new java.util.ArrayList<TColumnValue>(_list5.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumnValue _elem6;
|
||||
for (int _i7 = 0; _i7 < _list5.size; ++_i7)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* A TRowMutations object is used to apply a number of Mutations to a single row.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TRowMutations implements org.apache.thrift.TBase<TRowMutations, TRowMutations._Fields>, java.io.Serializable, Cloneable, Comparable<TRowMutations> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowMutations");
|
||||
|
||||
|
@ -267,8 +267,6 @@ public class TRowMutations implements org.apache.thrift.TBase<TRowMutations, TRo
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TRowMutations)
|
||||
return this.equals((TRowMutations)that);
|
||||
return false;
|
||||
|
@ -324,7 +322,7 @@ public class TRowMutations implements org.apache.thrift.TBase<TRowMutations, TRo
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -334,7 +332,7 @@ public class TRowMutations implements org.apache.thrift.TBase<TRowMutations, TRo
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -521,7 +519,7 @@ public class TRowMutations implements org.apache.thrift.TBase<TRowMutations, TRo
|
|||
struct.row = iprot.readBinary();
|
||||
struct.setRowIsSet(true);
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list139 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.mutations = new java.util.ArrayList<TMutation>(_list139.size);
|
||||
@org.apache.thrift.annotation.Nullable TMutation _elem140;
|
||||
for (int _i141 = 0; _i141 < _list139.size; ++_i141)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Any timestamps in the columns are ignored but the colFamTimeRangeMap included, use timeRange to select by timestamp.
|
||||
* Max versions defaults to 1.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, java.io.Serializable, Cloneable, Comparable<TScan> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TScan");
|
||||
|
||||
|
@ -1144,8 +1144,6 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TScan)
|
||||
return this.equals((TScan)that);
|
||||
return false;
|
||||
|
@ -1409,7 +1407,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1419,7 +1417,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1429,7 +1427,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1439,7 +1437,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCaching()).compareTo(other.isSetCaching());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCaching(), other.isSetCaching());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1449,7 +1447,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1459,7 +1457,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTimeRange()).compareTo(other.isSetTimeRange());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTimeRange(), other.isSetTimeRange());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1469,7 +1467,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1479,7 +1477,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetBatchSize()).compareTo(other.isSetBatchSize());
|
||||
lastComparison = java.lang.Boolean.compare(isSetBatchSize(), other.isSetBatchSize());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1489,7 +1487,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1499,7 +1497,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAuthorizations()).compareTo(other.isSetAuthorizations());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAuthorizations(), other.isSetAuthorizations());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1509,7 +1507,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReversed()).compareTo(other.isSetReversed());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReversed(), other.isSetReversed());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1519,7 +1517,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks());
|
||||
lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1529,7 +1527,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColFamTimeRangeMap()).compareTo(other.isSetColFamTimeRangeMap());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColFamTimeRangeMap(), other.isSetColFamTimeRangeMap());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1539,7 +1537,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetReadType()).compareTo(other.isSetReadType());
|
||||
lastComparison = java.lang.Boolean.compare(isSetReadType(), other.isSetReadType());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1549,7 +1547,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetLimit()).compareTo(other.isSetLimit());
|
||||
lastComparison = java.lang.Boolean.compare(isSetLimit(), other.isSetLimit());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1559,7 +1557,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetConsistency()).compareTo(other.isSetConsistency());
|
||||
lastComparison = java.lang.Boolean.compare(isSetConsistency(), other.isSetConsistency());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1569,7 +1567,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTargetReplicaId()).compareTo(other.isSetTargetReplicaId());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTargetReplicaId(), other.isSetTargetReplicaId());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -1579,7 +1577,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetFilterBytes()).compareTo(other.isSetFilterBytes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetFilterBytes(), other.isSetFilterBytes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -2307,7 +2305,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
}
|
||||
if (incoming.get(2)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list123 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumn>(_list123.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumn _elem124;
|
||||
for (int _i125 = 0; _i125 < _list123.size; ++_i125)
|
||||
|
@ -2342,7 +2340,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
}
|
||||
if (incoming.get(8)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map126 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map126 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map126.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key127;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val128;
|
||||
|
@ -2370,7 +2368,7 @@ public class TScan implements org.apache.thrift.TBase<TScan, TScan._Fields>, jav
|
|||
}
|
||||
if (incoming.get(12)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map130 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.colFamTimeRangeMap = new java.util.HashMap<java.nio.ByteBuffer,TTimeRange>(2*_map130.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key131;
|
||||
@org.apache.thrift.annotation.Nullable TTimeRange _val132;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TServerName implements org.apache.thrift.TBase<TServerName, TServerName._Fields>, java.io.Serializable, Cloneable, Comparable<TServerName> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TServerName");
|
||||
|
||||
|
@ -276,8 +276,6 @@ public class TServerName implements org.apache.thrift.TBase<TServerName, TServer
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TServerName)
|
||||
return this.equals((TServerName)that);
|
||||
return false;
|
||||
|
@ -346,7 +344,7 @@ public class TServerName implements org.apache.thrift.TBase<TServerName, TServer
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetHostName()).compareTo(other.isSetHostName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetHostName(), other.isSetHostName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -356,7 +354,7 @@ public class TServerName implements org.apache.thrift.TBase<TServerName, TServer
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetPort()).compareTo(other.isSetPort());
|
||||
lastComparison = java.lang.Boolean.compare(isSetPort(), other.isSetPort());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -366,7 +364,7 @@ public class TServerName implements org.apache.thrift.TBase<TServerName, TServer
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetStartCode()).compareTo(other.isSetStartCode());
|
||||
lastComparison = java.lang.Boolean.compare(isSetStartCode(), other.isSetStartCode());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.client.TableDescriptor
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescriptor, TTableDescriptor._Fields>, java.io.Serializable, Cloneable, Comparable<TTableDescriptor> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableDescriptor");
|
||||
|
||||
|
@ -382,8 +382,6 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TTableDescriptor)
|
||||
return this.equals((TTableDescriptor)that);
|
||||
return false;
|
||||
|
@ -465,7 +463,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
|
||||
lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -475,7 +473,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
|
||||
lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -485,7 +483,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes());
|
||||
lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -495,7 +493,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability());
|
||||
lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -786,7 +784,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
java.util.BitSet incoming = iprot.readBitSet(3);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TList _list173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
|
||||
org.apache.thrift.protocol.TList _list173 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
|
||||
struct.columns = new java.util.ArrayList<TColumnFamilyDescriptor>(_list173.size);
|
||||
@org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem174;
|
||||
for (int _i175 = 0; _i175 < _list173.size; ++_i175)
|
||||
|
@ -800,7 +798,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase<TTableDescripto
|
|||
}
|
||||
if (incoming.get(1)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map176 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
org.apache.thrift.protocol.TMap _map176 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
|
||||
struct.attributes = new java.util.HashMap<java.nio.ByteBuffer,java.nio.ByteBuffer>(2*_map176.size);
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key177;
|
||||
@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val178;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
* Thrift wrapper around
|
||||
* org.apache.hadoop.hbase.TableName
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TTableName implements org.apache.thrift.TBase<TTableName, TTableName._Fields>, java.io.Serializable, Cloneable, Comparable<TTableName> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableName");
|
||||
|
||||
|
@ -283,8 +283,6 @@ public class TTableName implements org.apache.thrift.TBase<TTableName, TTableNam
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TTableName)
|
||||
return this.equals((TTableName)that);
|
||||
return false;
|
||||
|
@ -340,7 +338,7 @@ public class TTableName implements org.apache.thrift.TBase<TTableName, TTableNam
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetNs()).compareTo(other.isSetNs());
|
||||
lastComparison = java.lang.Boolean.compare(isSetNs(), other.isSetNs());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -350,7 +348,7 @@ public class TTableName implements org.apache.thrift.TBase<TTableName, TTableNam
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier());
|
||||
lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated;
|
|||
/**
|
||||
* Specify type of thrift server: thrift and thrift2
|
||||
*/
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public enum TThriftServerType implements org.apache.thrift.TEnum {
|
||||
ONE(1),
|
||||
TWO(2);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Autogenerated by Thrift Compiler (0.13.0)
|
||||
* Autogenerated by Thrift Compiler (0.14.1)
|
||||
*
|
||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||
* @generated
|
||||
|
@ -7,7 +7,7 @@
|
|||
package org.apache.hadoop.hbase.thrift2.generated;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15")
|
||||
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24")
|
||||
public class TTimeRange implements org.apache.thrift.TBase<TTimeRange, TTimeRange._Fields>, java.io.Serializable, Cloneable, Comparable<TTimeRange> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTimeRange");
|
||||
|
||||
|
@ -230,8 +230,6 @@ public class TTimeRange implements org.apache.thrift.TBase<TTimeRange, TTimeRang
|
|||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object that) {
|
||||
if (that == null)
|
||||
return false;
|
||||
if (that instanceof TTimeRange)
|
||||
return this.equals((TTimeRange)that);
|
||||
return false;
|
||||
|
@ -283,7 +281,7 @@ public class TTimeRange implements org.apache.thrift.TBase<TTimeRange, TTimeRang
|
|||
|
||||
int lastComparison = 0;
|
||||
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMinStamp()).compareTo(other.isSetMinStamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMinStamp(), other.isSetMinStamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
@ -293,7 +291,7 @@ public class TTimeRange implements org.apache.thrift.TBase<TTimeRange, TTimeRang
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = java.lang.Boolean.valueOf(isSetMaxStamp()).compareTo(other.isSetMaxStamp());
|
||||
lastComparison = java.lang.Boolean.compare(isSetMaxStamp(), other.isSetMaxStamp());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
|
|
|
@ -46,9 +46,9 @@ import org.apache.thrift.protocol.TBinaryProtocol;
|
|||
import org.apache.thrift.protocol.TCompactProtocol;
|
||||
import org.apache.thrift.protocol.TProtocol;
|
||||
import org.apache.thrift.server.TServer;
|
||||
import org.apache.thrift.transport.TFramedTransport;
|
||||
import org.apache.thrift.transport.TSocket;
|
||||
import org.apache.thrift.transport.TTransport;
|
||||
import org.apache.thrift.transport.layered.TFramedTransport;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.ClassRule;
|
||||
|
|
|
@ -35,9 +35,9 @@ import org.apache.hadoop.hbase.util.Bytes;
|
|||
import org.apache.thrift.protocol.TBinaryProtocol;
|
||||
import org.apache.thrift.protocol.TCompactProtocol;
|
||||
import org.apache.thrift.protocol.TProtocol;
|
||||
import org.apache.thrift.transport.TFramedTransport;
|
||||
import org.apache.thrift.transport.TSocket;
|
||||
import org.apache.thrift.transport.TTransport;
|
||||
import org.apache.thrift.transport.layered.TFramedTransport;
|
||||
import org.junit.Assert;
|
||||
import org.junit.ClassRule;
|
||||
import org.junit.experimental.categories.Category;
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -1466,7 +1466,7 @@
|
|||
<external.protobuf.version>2.5.0</external.protobuf.version>
|
||||
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
|
||||
<thrift.path>thrift</thrift.path>
|
||||
<thrift.version>0.13.0</thrift.version>
|
||||
<thrift.version>0.14.1</thrift.version>
|
||||
<zookeeper.version>3.5.7</zookeeper.version>
|
||||
<jline.version>2.11</jline.version>
|
||||
<slf4j.version>1.7.30</slf4j.version>
|
||||
|
|
Loading…
Reference in New Issue