public class oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest extends oadd.org.apache.calcite.avatica.remote.Service$Request
{
private static final oadd.com.google.protobuf.Descriptors$FieldDescriptor CONNECTION_ID_DESCRIPTOR;
private static final oadd.com.google.protobuf.Descriptors$FieldDescriptor STATEMENT_ID_DESCRIPTOR;
private static final oadd.com.google.protobuf.Descriptors$FieldDescriptor STATE_DESCRIPTOR;
private static final oadd.com.google.protobuf.Descriptors$FieldDescriptor OFFSET_DESCRIPTOR;
public final java.lang.String connectionId;
public final int statementId;
public final oadd.org.apache.calcite.avatica.QueryState state;
public final long offset;
void <init>()
{
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
specialinvoke v.<oadd.org.apache.calcite.avatica.remote.Service$Request: void <init>()>();
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId> = null;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId> = 0;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state> = null;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset> = 0L;
return;
}
public void <init>(java.lang.String, int, oadd.org.apache.calcite.avatica.QueryState, long)
{
int v;
long v;
java.lang.String v;
oadd.org.apache.calcite.avatica.QueryState v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v := @parameter: java.lang.String;
v := @parameter: int;
v := @parameter: oadd.org.apache.calcite.avatica.QueryState;
v := @parameter: long;
specialinvoke v.<oadd.org.apache.calcite.avatica.remote.Service$Request: void <init>()>();
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId> = v;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId> = v;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state> = v;
v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset> = v;
return;
}
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsResponse accept(oadd.org.apache.calcite.avatica.remote.Service)
{
oadd.org.apache.calcite.avatica.remote.Service v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsResponse v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v := @parameter: oadd.org.apache.calcite.avatica.remote.Service;
v = interfaceinvoke v.<oadd.org.apache.calcite.avatica.remote.Service: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsResponse apply(oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest)>(v);
return v;
}
oadd.org.apache.calcite.avatica.remote.Service$Request deserialize(oadd.com.google.protobuf.Message)
{
oadd.org.apache.calcite.avatica.proto.Common$QueryState v, v;
long v;
int v, v;
java.lang.String v, v;
boolean v, v, v, v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v, v;
oadd.com.google.protobuf.Message v, v;
oadd.org.apache.calcite.avatica.QueryState v;
oadd.com.google.protobuf.Descriptors$FieldDescriptor v, v, v, v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v := @parameter: oadd.com.google.protobuf.Message;
v = staticinvoke <oadd.org.apache.calcite.avatica.remote.ProtobufService: oadd.com.google.protobuf.Message castProtobufMessage(oadd.com.google.protobuf.Message,java.lang.Class)>(v, class "Loadd/org/apache/calcite/avatica/proto/Requests$SyncResultsRequest;");
v = null;
v = <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor CONNECTION_ID_DESCRIPTOR>;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: boolean hasField(oadd.com.google.protobuf.Descriptors$FieldDescriptor)>(v);
if v == 0 goto label;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: java.lang.String getConnectionId()>();
label:
v = 0;
v = <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor STATEMENT_ID_DESCRIPTOR>;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: boolean hasField(oadd.com.google.protobuf.Descriptors$FieldDescriptor)>(v);
if v == 0 goto label;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: int getStatementId()>();
label:
v = null;
v = <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor STATE_DESCRIPTOR>;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: boolean hasField(oadd.com.google.protobuf.Descriptors$FieldDescriptor)>(v);
if v == 0 goto label;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.org.apache.calcite.avatica.proto.Common$QueryState getState()>();
label:
v = 0L;
v = <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor OFFSET_DESCRIPTOR>;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: boolean hasField(oadd.com.google.protobuf.Descriptors$FieldDescriptor)>(v);
if v == 0 goto label;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: long getOffset()>();
label:
v = new oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v = v;
v = v;
if null != v goto label;
v = null;
goto label;
label:
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.org.apache.calcite.avatica.proto.Common$QueryState getState()>();
v = staticinvoke <oadd.org.apache.calcite.avatica.QueryState: oadd.org.apache.calcite.avatica.QueryState fromProto(oadd.org.apache.calcite.avatica.proto.Common$QueryState)>(v);
label:
specialinvoke v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: void <init>(java.lang.String,int,oadd.org.apache.calcite.avatica.QueryState,long)>(v, v, v, v);
return v;
}
oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest serialize()
{
oadd.org.apache.calcite.avatica.proto.Common$QueryState v;
long v;
oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
int v;
java.lang.String v, v;
oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder v;
oadd.org.apache.calcite.avatica.QueryState v, v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v = staticinvoke <oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder newBuilder()>();
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId>;
if null == v goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId>;
virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder setConnectionId(java.lang.String)>(v);
label:
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state>;
if null == v goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state>;
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.QueryState: oadd.org.apache.calcite.avatica.proto.Common$QueryState toProto()>();
virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder setState(oadd.org.apache.calcite.avatica.proto.Common$QueryState)>(v);
label:
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId>;
virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder setStatementId(int)>(v);
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset>;
virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder setOffset(long)>(v);
v = virtualinvoke v.<oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest$Builder: oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest build()>();
return v;
}
public int hashCode()
{
long v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
int v, v, v, v, v;
java.lang.String v;
oadd.org.apache.calcite.avatica.QueryState v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId>;
v = staticinvoke <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int p(int,java.lang.Object)>(1, v);
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset>;
v = staticinvoke <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int p(int,long)>(v, v);
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state>;
v = staticinvoke <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int p(int,java.lang.Object)>(v, v);
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId>;
v = staticinvoke <oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int p(int,int)>(v, v);
return v;
}
public boolean equals(java.lang.Object)
{
long v, v;
oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest v;
byte v;
int v, v;
java.lang.Object v;
java.lang.String v, v;
oadd.org.apache.calcite.avatica.QueryState v, v;
boolean v, v, v, v;
v := @this: oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
v := @parameter: java.lang.Object;
if v == v goto label;
v = v instanceof oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest;
if v == 0 goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId>;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: int statementId>;
if v != v goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset>;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: long offset>;
v = v cmp v;
if v != 0 goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId>;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: java.lang.String connectionId>;
v = staticinvoke <java.util.Objects: boolean equals(java.lang.Object,java.lang.Object)>(v, v);
if v == 0 goto label;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state>;
v = v.<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.org.apache.calcite.avatica.QueryState state>;
v = staticinvoke <java.util.Objects: boolean equals(java.lang.Object,java.lang.Object)>(v, v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
static void <clinit>()
{
oadd.com.google.protobuf.Descriptors$Descriptor v, v, v, v;
oadd.com.google.protobuf.Descriptors$FieldDescriptor v, v, v, v;
v = staticinvoke <oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$Descriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$Descriptor: oadd.com.google.protobuf.Descriptors$FieldDescriptor findFieldByNumber(int)>(1);
<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor CONNECTION_ID_DESCRIPTOR> = v;
v = staticinvoke <oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$Descriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$Descriptor: oadd.com.google.protobuf.Descriptors$FieldDescriptor findFieldByNumber(int)>(2);
<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor STATEMENT_ID_DESCRIPTOR> = v;
v = staticinvoke <oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$Descriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$Descriptor: oadd.com.google.protobuf.Descriptors$FieldDescriptor findFieldByNumber(int)>(3);
<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor STATE_DESCRIPTOR> = v;
v = staticinvoke <oadd.org.apache.calcite.avatica.proto.Requests$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$Descriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$Descriptor: oadd.com.google.protobuf.Descriptors$FieldDescriptor findFieldByNumber(int)>(4);
<oadd.org.apache.calcite.avatica.remote.Service$SyncResultsRequest: oadd.com.google.protobuf.Descriptors$FieldDescriptor OFFSET_DESCRIPTOR> = v;
return;
}
}