Class Service.PrepareAndExecuteRequest
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Request
-
- org.apache.calcite.avatica.remote.Service.PrepareAndExecuteRequest
-
- Enclosing interface:
- Service
public static class Service.PrepareAndExecuteRequest extends Service.Request
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Descriptors.FieldDescriptorCONNECTION_ID_DESCRIPTORjava.lang.StringconnectionIdprivate static com.google.protobuf.Descriptors.FieldDescriptorFIRST_FRAME_MAX_SIZE_DESCRIPTORprivate static com.google.protobuf.Descriptors.FieldDescriptorMAX_ROWS_TOTAL_DESCRIPTORlongmaxRowCountintmaxRowsInFirstFramejava.lang.Stringsqlprivate static com.google.protobuf.Descriptors.FieldDescriptorSQL_DESCRIPTORintstatementId-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description PrepareAndExecuteRequest()PrepareAndExecuteRequest(java.lang.String connectionId, int statementId, java.lang.String sql, long maxRowCount)PrepareAndExecuteRequest(java.lang.String connectionId, int statementId, java.lang.String sql, long maxRowCount, int maxRowsInFirstFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.ExecuteResponseaccept(Service service)(package private) Service.PrepareAndExecuteRequestdeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()(package private) Requests.PrepareAndExecuteRequestserialize()-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Field Detail
-
CONNECTION_ID_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor CONNECTION_ID_DESCRIPTOR
-
SQL_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor SQL_DESCRIPTOR
-
MAX_ROWS_TOTAL_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor MAX_ROWS_TOTAL_DESCRIPTOR
-
FIRST_FRAME_MAX_SIZE_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor FIRST_FRAME_MAX_SIZE_DESCRIPTOR
-
connectionId
public final java.lang.String connectionId
-
sql
public final java.lang.String sql
-
maxRowCount
public final long maxRowCount
-
maxRowsInFirstFrame
public final int maxRowsInFirstFrame
-
statementId
public final int statementId
-
-
Constructor Detail
-
PrepareAndExecuteRequest
PrepareAndExecuteRequest()
-
PrepareAndExecuteRequest
public PrepareAndExecuteRequest(java.lang.String connectionId, int statementId, java.lang.String sql, long maxRowCount)
-
PrepareAndExecuteRequest
public PrepareAndExecuteRequest(java.lang.String connectionId, int statementId, java.lang.String sql, long maxRowCount, int maxRowsInFirstFrame)
-
-
Method Detail
-
accept
Service.ExecuteResponse accept(Service service)
- Specified by:
acceptin classService.Request
-
deserialize
Service.PrepareAndExecuteRequest deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Request
-
serialize
Requests.PrepareAndExecuteRequest serialize()
- Specified by:
serializein classService.Request
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-