Interface DataReadResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataReadResponse, DataReadResponse.Builder

public interface DataReadResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    * Content of the dataset, encoded in the requested format.
    org.finos.tracdap.metadata.SchemaDefinition
    * Schema of the dataset being returned.
    org.finos.tracdap.metadata.SchemaDefinitionOrBuilder
    * Schema of the dataset being returned.
    boolean
    * Schema of the dataset being returned.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSchema

      boolean hasSchema()
       *
       Schema of the dataset being returned.
      
       The schema is provided in the first message of the response stream.
       TRAC will always provide a full schema, regardless of whether the
       dataset is using am external schema or an embedded one.
       
      optional .tracdap.metadata.SchemaDefinition schema = 1;
      Returns:
      Whether the schema field is set.
    • getSchema

      org.finos.tracdap.metadata.SchemaDefinition getSchema()
       *
       Schema of the dataset being returned.
      
       The schema is provided in the first message of the response stream.
       TRAC will always provide a full schema, regardless of whether the
       dataset is using am external schema or an embedded one.
       
      optional .tracdap.metadata.SchemaDefinition schema = 1;
      Returns:
      The schema.
    • getSchemaOrBuilder

      org.finos.tracdap.metadata.SchemaDefinitionOrBuilder getSchemaOrBuilder()
       *
       Schema of the dataset being returned.
      
       The schema is provided in the first message of the response stream.
       TRAC will always provide a full schema, regardless of whether the
       dataset is using am external schema or an embedded one.
       
      optional .tracdap.metadata.SchemaDefinition schema = 1;
    • getContent

      com.google.protobuf.ByteString getContent()
       *
       Content of the dataset, encoded in the requested format.
      
       The first message in the response stream will always contain an empty
       content buffer. Subsequent messages will provided the content of the
       dataset as a series of chunks.
       
      bytes content = 1000;
      Returns:
      The content.