public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.Registry message) throws java.io.IOException { for(org.apache.drill.exec.proto.UserBitShared.Jar jar : message.getJarList()) output.writeObject(1, jar, org.apache.drill.exec.proto.SchemaUserBitShared.Jar.WRITE, true); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.Registry message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.UserProperties message) throws java.io.IOException { for(org.apache.drill.exec.proto.UserProtos.Property properties : message.getPropertiesList()) output.writeObject(1, properties, org.apache.drill.exec.proto.SchemaUserProtos.Property.WRITE, true); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.UserProperties message)
public void writeTo(Output output, GetCatalogsReq message) throws IOException { if(message.catalogNameFilter != null) output.writeObject(1, message.catalogNameFilter, LikeFilter.getSchema(), false); }
public void writeTo(Output output, GetServerMetaResp message) throws IOException { if(message.status != null) output.writeEnum(1, message.status.number, false); if(message.serverMeta != null) output.writeObject(2, message.serverMeta, ServerMeta.getSchema(), false); if(message.error != null) output.writeObject(3, message.error, DrillPBError.getSchema(), false); }
public void writeTo(Output output, CreatePreparedStatementResp message) throws IOException { if(message.status != null) output.writeEnum(1, message.status.number, false); if(message.preparedStatement != null) output.writeObject(2, message.preparedStatement, PreparedStatement.getSchema(), false); if(message.error != null) output.writeObject(3, message.error, DrillPBError.getSchema(), false); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetColumnsReq message) throws java.io.IOException { if(message.hasCatalogNameFilter()) output.writeObject(1, message.getCatalogNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); if(message.hasSchemaNameFilter()) output.writeObject(2, message.getSchemaNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); if(message.hasTableNameFilter()) output.writeObject(3, message.getTableNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); if(message.hasColumnNameFilter()) output.writeObject(4, message.getColumnNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetColumnsReq message)
public void writeTo(Output output, RequestResults message) throws IOException { if(message.queryId != null) output.writeObject(1, message.queryId, QueryId.getSchema(), false); if(message.maximumResponses != 0) output.writeInt32(2, message.maximumResponses, false); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetTablesReq message) throws java.io.IOException { if(message.hasCatalogNameFilter()) output.writeObject(1, message.getCatalogNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); if(message.hasSchemaNameFilter()) output.writeObject(2, message.getSchemaNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); if(message.hasTableNameFilter()) output.writeObject(3, message.getTableNameFilter(), org.apache.drill.exec.proto.SchemaUserProtos.LikeFilter.WRITE, false); for(String tableTypeFilter : message.getTableTypeFilterList()) output.writeString(4, tableTypeFilter, true); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetTablesReq message)
public void writeTo(Output output, CompleteRpcMessage message) throws IOException { if(message.header != null) output.writeObject(1, message.header, RpcHeader.getSchema(), false); if(message.protobufBody != null) output.writeBytes(2, message.protobufBody, false); if(message.rawBody != null) output.writeBytes(3, message.rawBody, false); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.QueryPlanFragments message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); if(message.hasQueryId()) output.writeObject(2, message.getQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); for(org.apache.drill.exec.proto.BitControl.PlanFragment fragments : message.getFragmentsList()) output.writeObject(3, fragments, org.apache.drill.exec.proto.SchemaBitControl.PlanFragment.WRITE, true); if(message.hasError()) output.writeObject(4, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.QueryPlanFragments message)
public void writeTo(Output output, DrillServiceInstance message) throws IOException { if(message.id != null) output.writeString(1, message.id, false); if(message.registrationTimeUTC != 0) output.writeInt64(2, message.registrationTimeUTC, false); if(message.endpoint != null) output.writeObject(3, message.endpoint, DrillbitEndpoint.getSchema(), false); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); for(org.apache.drill.exec.proto.UserProtos.CatalogMetadata catalogs : message.getCatalogsList()) output.writeObject(2, catalogs, org.apache.drill.exec.proto.SchemaUserProtos.CatalogMetadata.WRITE, true); if(message.hasError()) output.writeObject(3, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetSchemasResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); for(org.apache.drill.exec.proto.UserProtos.SchemaMetadata schemas : message.getSchemasList()) output.writeObject(2, schemas, org.apache.drill.exec.proto.SchemaUserProtos.SchemaMetadata.WRITE, true); if(message.hasError()) output.writeObject(3, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetSchemasResp message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.QueryResult message) throws java.io.IOException { if(message.hasQueryState()) output.writeEnum(1, message.getQueryState().getNumber(), false); if(message.hasQueryId()) output.writeObject(2, message.getQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); for(org.apache.drill.exec.proto.UserBitShared.DrillPBError error : message.getErrorList()) output.writeObject(3, error, org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, true); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.QueryResult message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.MajorFragmentProfile message) throws java.io.IOException { if(message.hasMajorFragmentId()) output.writeInt32(1, message.getMajorFragmentId(), false); for(org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfile minorFragmentProfile : message.getMinorFragmentProfileList()) output.writeObject(2, minorFragmentProfile, org.apache.drill.exec.proto.SchemaUserBitShared.MinorFragmentProfile.WRITE, true); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.MajorFragmentProfile message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetServerMetaResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); if(message.hasServerMeta()) output.writeObject(2, message.getServerMeta(), org.apache.drill.exec.proto.SchemaUserProtos.ServerMeta.WRITE, false); if(message.hasError()) output.writeObject(3, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetServerMetaResp message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.ExceptionWrapper message) throws java.io.IOException { if(message.hasExceptionClass()) output.writeString(1, message.getExceptionClass(), false); if(message.hasMessage()) output.writeString(2, message.getMessage(), false); for(org.apache.drill.exec.proto.UserBitShared.StackTraceElementWrapper stackTrace : message.getStackTraceList()) output.writeObject(3, stackTrace, org.apache.drill.exec.proto.SchemaUserBitShared.StackTraceElementWrapper.WRITE, true); if(message.hasCause()) output.writeObject(4, message.getCause(), org.apache.drill.exec.proto.SchemaUserBitShared.ExceptionWrapper.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.ExceptionWrapper message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.ExecProtos.FragmentHandle message) throws java.io.IOException { if(message.hasQueryId()) output.writeObject(1, message.getQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); if(message.hasMajorFragmentId()) output.writeInt32(2, message.getMajorFragmentId(), false); if(message.hasMinorFragmentId()) output.writeInt32(3, message.getMinorFragmentId(), false); if(message.hasParentQueryId()) output.writeObject(4, message.getParentQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.ExecProtos.FragmentHandle message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.WorkQueueStatus message) throws java.io.IOException { if(message.hasEndpoint()) output.writeObject(1, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false); if(message.hasQueueLength()) output.writeInt32(2, message.getQueueLength(), false); if(message.hasReportTime()) output.writeInt64(3, message.getReportTime(), false); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.WorkQueueStatus message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.BitControlHandshake message) throws java.io.IOException { if(message.hasRpcVersion()) output.writeInt32(1, message.getRpcVersion(), false); if(message.hasChannel()) output.writeEnum(2, message.getChannel().getNumber(), false); if(message.hasEndpoint()) output.writeObject(3, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false); for(String authenticationMechanisms : message.getAuthenticationMechanismsList()) output.writeString(4, authenticationMechanisms, true); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.BitControlHandshake message)