sb.append(this.maxRows); first = false; if (isSetFetchType()) { if (!first) sb.append(", "); sb.append("fetchType:");
sb.append(this.maxRows); first = false; if (isSetFetchType()) { if (!first) sb.append(", "); sb.append("fetchType:");
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
sb.append(this.maxRows); first = false; if (isSetFetchType()) { if (!first) sb.append(", "); sb.append("fetchType:");
sb.append(this.maxRows); first = false; if (isSetFetchType()) { if (!first) sb.append(", "); sb.append("fetchType:");
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
/** 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 IllegalArgumentException(); } switch (field) { case OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } throw new IllegalStateException(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsReq struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.operationHandle != null) { oprot.writeFieldBegin(OPERATION_HANDLE_FIELD_DESC); struct.operationHandle.write(oprot); oprot.writeFieldEnd(); } if (struct.orientation != null) { oprot.writeFieldBegin(ORIENTATION_FIELD_DESC); oprot.writeI32(struct.orientation.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_ROWS_FIELD_DESC); oprot.writeI64(struct.maxRows); oprot.writeFieldEnd(); if (struct.isSetFetchType()) { oprot.writeFieldBegin(FETCH_TYPE_FIELD_DESC); oprot.writeI16(struct.fetchType); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.operationHandle.write(oprot); oprot.writeI32(struct.orientation.getValue()); oprot.writeI64(struct.maxRows); BitSet optionals = new BitSet(); if (struct.isSetFetchType()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetFetchType()) { oprot.writeI16(struct.fetchType); } }
/** 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 IllegalArgumentException(); } switch (field) { case OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } throw new 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 IllegalArgumentException(); } switch (field) { case OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } throw new 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 IllegalArgumentException(); } switch (field) { case OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } throw new IllegalStateException(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.operationHandle.write(oprot); oprot.writeI32(struct.orientation.getValue()); oprot.writeI64(struct.maxRows); BitSet optionals = new BitSet(); if (struct.isSetFetchType()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetFetchType()) { oprot.writeI16(struct.fetchType); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsReq struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.operationHandle != null) { oprot.writeFieldBegin(OPERATION_HANDLE_FIELD_DESC); struct.operationHandle.write(oprot); oprot.writeFieldEnd(); } if (struct.orientation != null) { oprot.writeFieldBegin(ORIENTATION_FIELD_DESC); oprot.writeI32(struct.orientation.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_ROWS_FIELD_DESC); oprot.writeI64(struct.maxRows); oprot.writeFieldEnd(); if (struct.isSetFetchType()) { oprot.writeFieldBegin(FETCH_TYPE_FIELD_DESC); oprot.writeI16(struct.fetchType); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsReq struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.operationHandle != null) { oprot.writeFieldBegin(OPERATION_HANDLE_FIELD_DESC); struct.operationHandle.write(oprot); oprot.writeFieldEnd(); } if (struct.orientation != null) { oprot.writeFieldBegin(ORIENTATION_FIELD_DESC); oprot.writeI32(struct.orientation.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_ROWS_FIELD_DESC); oprot.writeI64(struct.maxRows); oprot.writeFieldEnd(); if (struct.isSetFetchType()) { oprot.writeFieldBegin(FETCH_TYPE_FIELD_DESC); oprot.writeI16(struct.fetchType); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.operationHandle.write(oprot); oprot.writeI32(struct.orientation.getValue()); oprot.writeI64(struct.maxRows); BitSet optionals = new BitSet(); if (struct.isSetFetchType()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetFetchType()) { oprot.writeI16(struct.fetchType); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsReq struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.operationHandle != null) { oprot.writeFieldBegin(OPERATION_HANDLE_FIELD_DESC); struct.operationHandle.write(oprot); oprot.writeFieldEnd(); } if (struct.orientation != null) { oprot.writeFieldBegin(ORIENTATION_FIELD_DESC); oprot.writeI32(struct.orientation.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_ROWS_FIELD_DESC); oprot.writeI64(struct.maxRows); oprot.writeFieldEnd(); if (struct.isSetFetchType()) { oprot.writeFieldBegin(FETCH_TYPE_FIELD_DESC); oprot.writeI16(struct.fetchType); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.operationHandle.write(oprot); oprot.writeI32(struct.orientation.getValue()); oprot.writeI64(struct.maxRows); BitSet optionals = new BitSet(); if (struct.isSetFetchType()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetFetchType()) { oprot.writeI16(struct.fetchType); } }