TLanceScanParams.java
/**
* Autogenerated by Thrift Compiler (0.16.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.doris.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.16.0)", date = "2026-08-26")
public class TLanceScanParams implements org.apache.thrift.TBase<TLanceScanParams, TLanceScanParams._Fields>, java.io.Serializable, Cloneable, Comparable<TLanceScanParams> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TLanceScanParams");
private static final org.apache.thrift.protocol.TField LANCE_SUBSTRAIT_FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("lance_substrait_filter", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField EXTERNAL_SEARCH_REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("external_search_request", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField LANCE_STORAGE_OPTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("lance_storage_options", org.apache.thrift.protocol.TType.MAP, (short)3);
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TLanceScanParamsStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TLanceScanParamsTupleSchemeFactory();
public @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer lance_substrait_filter; // optional
public @org.apache.thrift.annotation.Nullable TExternalSearchRequest external_search_request; // optional
public @org.apache.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> lance_storage_options; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
LANCE_SUBSTRAIT_FILTER((short)1, "lance_substrait_filter"),
EXTERNAL_SEARCH_REQUEST((short)2, "external_search_request"),
LANCE_STORAGE_OPTIONS((short)3, "lance_storage_options");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
static {
for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // LANCE_SUBSTRAIT_FILTER
return LANCE_SUBSTRAIT_FILTER;
case 2: // EXTERNAL_SEARCH_REQUEST
return EXTERNAL_SEARCH_REQUEST;
case 3: // LANCE_STORAGE_OPTIONS
return LANCE_STORAGE_OPTIONS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
private final short _thriftId;
private final java.lang.String _fieldName;
_Fields(short thriftId, java.lang.String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public java.lang.String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final _Fields optionals[] = {_Fields.LANCE_SUBSTRAIT_FILTER,_Fields.EXTERNAL_SEARCH_REQUEST,_Fields.LANCE_STORAGE_OPTIONS};
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.LANCE_SUBSTRAIT_FILTER, new org.apache.thrift.meta_data.FieldMetaData("lance_substrait_filter", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)));
tmpMap.put(_Fields.EXTERNAL_SEARCH_REQUEST, new org.apache.thrift.meta_data.FieldMetaData("external_search_request", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TExternalSearchRequest.class)));
tmpMap.put(_Fields.LANCE_STORAGE_OPTIONS, new org.apache.thrift.meta_data.FieldMetaData("lance_storage_options", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TLanceScanParams.class, metaDataMap);
}
public TLanceScanParams() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public TLanceScanParams(TLanceScanParams other) {
if (other.isSetLanceSubstraitFilter()) {
this.lance_substrait_filter = org.apache.thrift.TBaseHelper.copyBinary(other.lance_substrait_filter);
}
if (other.isSetExternalSearchRequest()) {
this.external_search_request = new TExternalSearchRequest(other.external_search_request);
}
if (other.isSetLanceStorageOptions()) {
java.util.Map<java.lang.String,java.lang.String> __this__lance_storage_options = new java.util.HashMap<java.lang.String,java.lang.String>(other.lance_storage_options);
this.lance_storage_options = __this__lance_storage_options;
}
}
public TLanceScanParams deepCopy() {
return new TLanceScanParams(this);
}
@Override
public void clear() {
this.lance_substrait_filter = null;
this.external_search_request = null;
this.lance_storage_options = null;
}
public byte[] getLanceSubstraitFilter() {
setLanceSubstraitFilter(org.apache.thrift.TBaseHelper.rightSize(lance_substrait_filter));
return lance_substrait_filter == null ? null : lance_substrait_filter.array();
}
public java.nio.ByteBuffer bufferForLanceSubstraitFilter() {
return org.apache.thrift.TBaseHelper.copyBinary(lance_substrait_filter);
}
public TLanceScanParams setLanceSubstraitFilter(byte[] lance_substrait_filter) {
this.lance_substrait_filter = lance_substrait_filter == null ? (java.nio.ByteBuffer)null : java.nio.ByteBuffer.wrap(lance_substrait_filter.clone());
return this;
}
public TLanceScanParams setLanceSubstraitFilter(@org.apache.thrift.annotation.Nullable java.nio.ByteBuffer lance_substrait_filter) {
this.lance_substrait_filter = org.apache.thrift.TBaseHelper.copyBinary(lance_substrait_filter);
return this;
}
public void unsetLanceSubstraitFilter() {
this.lance_substrait_filter = null;
}
/** Returns true if field lance_substrait_filter is set (has been assigned a value) and false otherwise */
public boolean isSetLanceSubstraitFilter() {
return this.lance_substrait_filter != null;
}
public void setLanceSubstraitFilterIsSet(boolean value) {
if (!value) {
this.lance_substrait_filter = null;
}
}
@org.apache.thrift.annotation.Nullable
public TExternalSearchRequest getExternalSearchRequest() {
return this.external_search_request;
}
public TLanceScanParams setExternalSearchRequest(@org.apache.thrift.annotation.Nullable TExternalSearchRequest external_search_request) {
this.external_search_request = external_search_request;
return this;
}
public void unsetExternalSearchRequest() {
this.external_search_request = null;
}
/** Returns true if field external_search_request is set (has been assigned a value) and false otherwise */
public boolean isSetExternalSearchRequest() {
return this.external_search_request != null;
}
public void setExternalSearchRequestIsSet(boolean value) {
if (!value) {
this.external_search_request = null;
}
}
public int getLanceStorageOptionsSize() {
return (this.lance_storage_options == null) ? 0 : this.lance_storage_options.size();
}
public void putToLanceStorageOptions(java.lang.String key, java.lang.String val) {
if (this.lance_storage_options == null) {
this.lance_storage_options = new java.util.HashMap<java.lang.String,java.lang.String>();
}
this.lance_storage_options.put(key, val);
}
@org.apache.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.String> getLanceStorageOptions() {
return this.lance_storage_options;
}
public TLanceScanParams setLanceStorageOptions(@org.apache.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> lance_storage_options) {
this.lance_storage_options = lance_storage_options;
return this;
}
public void unsetLanceStorageOptions() {
this.lance_storage_options = null;
}
/** Returns true if field lance_storage_options is set (has been assigned a value) and false otherwise */
public boolean isSetLanceStorageOptions() {
return this.lance_storage_options != null;
}
public void setLanceStorageOptionsIsSet(boolean value) {
if (!value) {
this.lance_storage_options = null;
}
}
public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case LANCE_SUBSTRAIT_FILTER:
if (value == null) {
unsetLanceSubstraitFilter();
} else {
if (value instanceof byte[]) {
setLanceSubstraitFilter((byte[])value);
} else {
setLanceSubstraitFilter((java.nio.ByteBuffer)value);
}
}
break;
case EXTERNAL_SEARCH_REQUEST:
if (value == null) {
unsetExternalSearchRequest();
} else {
setExternalSearchRequest((TExternalSearchRequest)value);
}
break;
case LANCE_STORAGE_OPTIONS:
if (value == null) {
unsetLanceStorageOptions();
} else {
setLanceStorageOptions((java.util.Map<java.lang.String,java.lang.String>)value);
}
break;
}
}
@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case LANCE_SUBSTRAIT_FILTER:
return getLanceSubstraitFilter();
case EXTERNAL_SEARCH_REQUEST:
return getExternalSearchRequest();
case LANCE_STORAGE_OPTIONS:
return getLanceStorageOptions();
}
throw new java.lang.IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new java.lang.IllegalArgumentException();
}
switch (field) {
case LANCE_SUBSTRAIT_FILTER:
return isSetLanceSubstraitFilter();
case EXTERNAL_SEARCH_REQUEST:
return isSetExternalSearchRequest();
case LANCE_STORAGE_OPTIONS:
return isSetLanceStorageOptions();
}
throw new java.lang.IllegalStateException();
}
@Override
public boolean equals(java.lang.Object that) {
if (that instanceof TLanceScanParams)
return this.equals((TLanceScanParams)that);
return false;
}
public boolean equals(TLanceScanParams that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_lance_substrait_filter = true && this.isSetLanceSubstraitFilter();
boolean that_present_lance_substrait_filter = true && that.isSetLanceSubstraitFilter();
if (this_present_lance_substrait_filter || that_present_lance_substrait_filter) {
if (!(this_present_lance_substrait_filter && that_present_lance_substrait_filter))
return false;
if (!this.lance_substrait_filter.equals(that.lance_substrait_filter))
return false;
}
boolean this_present_external_search_request = true && this.isSetExternalSearchRequest();
boolean that_present_external_search_request = true && that.isSetExternalSearchRequest();
if (this_present_external_search_request || that_present_external_search_request) {
if (!(this_present_external_search_request && that_present_external_search_request))
return false;
if (!this.external_search_request.equals(that.external_search_request))
return false;
}
boolean this_present_lance_storage_options = true && this.isSetLanceStorageOptions();
boolean that_present_lance_storage_options = true && that.isSetLanceStorageOptions();
if (this_present_lance_storage_options || that_present_lance_storage_options) {
if (!(this_present_lance_storage_options && that_present_lance_storage_options))
return false;
if (!this.lance_storage_options.equals(that.lance_storage_options))
return false;
}
return true;
}
@Override
public int hashCode() {
int hashCode = 1;
hashCode = hashCode * 8191 + ((isSetLanceSubstraitFilter()) ? 131071 : 524287);
if (isSetLanceSubstraitFilter())
hashCode = hashCode * 8191 + lance_substrait_filter.hashCode();
hashCode = hashCode * 8191 + ((isSetExternalSearchRequest()) ? 131071 : 524287);
if (isSetExternalSearchRequest())
hashCode = hashCode * 8191 + external_search_request.hashCode();
hashCode = hashCode * 8191 + ((isSetLanceStorageOptions()) ? 131071 : 524287);
if (isSetLanceStorageOptions())
hashCode = hashCode * 8191 + lance_storage_options.hashCode();
return hashCode;
}
@Override
public int compareTo(TLanceScanParams other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetLanceSubstraitFilter(), other.isSetLanceSubstraitFilter());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLanceSubstraitFilter()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lance_substrait_filter, other.lance_substrait_filter);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetExternalSearchRequest(), other.isSetExternalSearchRequest());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetExternalSearchRequest()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.external_search_request, other.external_search_request);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetLanceStorageOptions(), other.isSetLanceStorageOptions());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLanceStorageOptions()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lance_storage_options, other.lance_storage_options);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@org.apache.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
scheme(iprot).read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
scheme(oprot).write(oprot, this);
}
@Override
public java.lang.String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder("TLanceScanParams(");
boolean first = true;
if (isSetLanceSubstraitFilter()) {
sb.append("lance_substrait_filter:");
if (this.lance_substrait_filter == null) {
sb.append("null");
} else {
org.apache.thrift.TBaseHelper.toString(this.lance_substrait_filter, sb);
}
first = false;
}
if (isSetExternalSearchRequest()) {
if (!first) sb.append(", ");
sb.append("external_search_request:");
if (this.external_search_request == null) {
sb.append("null");
} else {
sb.append(this.external_search_request);
}
first = false;
}
if (isSetLanceStorageOptions()) {
if (!first) sb.append(", ");
sb.append("lance_storage_options:");
if (this.lance_storage_options == null) {
sb.append("null");
} else {
sb.append(this.lance_storage_options);
}
first = false;
}
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
if (external_search_request != null) {
external_search_request.validate();
}
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class TLanceScanParamsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TLanceScanParamsStandardScheme getScheme() {
return new TLanceScanParamsStandardScheme();
}
}
private static class TLanceScanParamsStandardScheme extends org.apache.thrift.scheme.StandardScheme<TLanceScanParams> {
public void read(org.apache.thrift.protocol.TProtocol iprot, TLanceScanParams struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // LANCE_SUBSTRAIT_FILTER
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.lance_substrait_filter = iprot.readBinary();
struct.setLanceSubstraitFilterIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 2: // EXTERNAL_SEARCH_REQUEST
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.external_search_request = new TExternalSearchRequest();
struct.external_search_request.read(iprot);
struct.setExternalSearchRequestIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 3: // LANCE_STORAGE_OPTIONS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
org.apache.thrift.protocol.TMap _map236 = iprot.readMapBegin();
struct.lance_storage_options = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map236.size);
@org.apache.thrift.annotation.Nullable java.lang.String _key237;
@org.apache.thrift.annotation.Nullable java.lang.String _val238;
for (int _i239 = 0; _i239 < _map236.size; ++_i239)
{
_key237 = iprot.readString();
_val238 = iprot.readString();
struct.lance_storage_options.put(_key237, _val238);
}
iprot.readMapEnd();
}
struct.setLanceStorageOptionsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, TLanceScanParams struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.lance_substrait_filter != null) {
if (struct.isSetLanceSubstraitFilter()) {
oprot.writeFieldBegin(LANCE_SUBSTRAIT_FILTER_FIELD_DESC);
oprot.writeBinary(struct.lance_substrait_filter);
oprot.writeFieldEnd();
}
}
if (struct.external_search_request != null) {
if (struct.isSetExternalSearchRequest()) {
oprot.writeFieldBegin(EXTERNAL_SEARCH_REQUEST_FIELD_DESC);
struct.external_search_request.write(oprot);
oprot.writeFieldEnd();
}
}
if (struct.lance_storage_options != null) {
if (struct.isSetLanceStorageOptions()) {
oprot.writeFieldBegin(LANCE_STORAGE_OPTIONS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.lance_storage_options.size()));
for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter240 : struct.lance_storage_options.entrySet())
{
oprot.writeString(_iter240.getKey());
oprot.writeString(_iter240.getValue());
}
oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class TLanceScanParamsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TLanceScanParamsTupleScheme getScheme() {
return new TLanceScanParamsTupleScheme();
}
}
private static class TLanceScanParamsTupleScheme extends org.apache.thrift.scheme.TupleScheme<TLanceScanParams> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, TLanceScanParams struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetLanceSubstraitFilter()) {
optionals.set(0);
}
if (struct.isSetExternalSearchRequest()) {
optionals.set(1);
}
if (struct.isSetLanceStorageOptions()) {
optionals.set(2);
}
oprot.writeBitSet(optionals, 3);
if (struct.isSetLanceSubstraitFilter()) {
oprot.writeBinary(struct.lance_substrait_filter);
}
if (struct.isSetExternalSearchRequest()) {
struct.external_search_request.write(oprot);
}
if (struct.isSetLanceStorageOptions()) {
{
oprot.writeI32(struct.lance_storage_options.size());
for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter241 : struct.lance_storage_options.entrySet())
{
oprot.writeString(_iter241.getKey());
oprot.writeString(_iter241.getValue());
}
}
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TLanceScanParams struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
struct.lance_substrait_filter = iprot.readBinary();
struct.setLanceSubstraitFilterIsSet(true);
}
if (incoming.get(1)) {
struct.external_search_request = new TExternalSearchRequest();
struct.external_search_request.read(iprot);
struct.setExternalSearchRequestIsSet(true);
}
if (incoming.get(2)) {
{
org.apache.thrift.protocol.TMap _map242 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING);
struct.lance_storage_options = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map242.size);
@org.apache.thrift.annotation.Nullable java.lang.String _key243;
@org.apache.thrift.annotation.Nullable java.lang.String _val244;
for (int _i245 = 0; _i245 < _map242.size; ++_i245)
{
_key243 = iprot.readString();
_val244 = iprot.readString();
struct.lance_storage_options.put(_key243, _val244);
}
}
struct.setLanceStorageOptionsIsSet(true);
}
}
}
private static <S extends org.apache.thrift.scheme.IScheme> S scheme(org.apache.thrift.protocol.TProtocol proto) {
return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
}
}