Package org.finos.tracdap.api
Class TracDataApiGrpc
- java.lang.Object
-
- org.finos.tracdap.api.TracDataApiGrpc
-
@Generated(value="by gRPC proto compiler (version 1.49.0)", comments="Source: tracdap/api/data.proto") public final class TracDataApiGrpc extends java.lang.ObjectPublic API for creating, updating, reading and querying primary data stored in the TRAC platform. The TRAC data API provides a standard mechanism for client applications to store and access data in the TRAC platform. Calls are translated into the underlying storage mechanisms, using push-down operations where possible for efficient queries on large datasets. The data API includes format translation, so data can be uploaded and retrieved in any supported format. The back-end storage format is controlled by the platform. For example if a user uploads a CSV file TRAC will convert it to the default storage format (by default Arrow IPC file format). Later a web application might ask for that data in JSON format and TRAC would again perform the conversion. The platform uses Apache Arrow as an intermediate representation that other formats are converted from and to. The data API uses streaming operations to support transfer of large datasets and can be used for both user-facing client applications and system-to-system integration. For regular, high-volume data transfers there are other options for integration, including data import jobs and direct back-end integration of the underlying storage technologies. These options can be faster and reduce storage requirements, at the expense of tighter coupling between systems. A compromise is to use direct integration and import jobs for a small number of critical feeds containing a high volume of data, and use the data API for client access and for integration of secondary and/or low-volume systems.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTracDataApiGrpc.TracDataApiBlockingStubPublic API for creating, updating, reading and querying primary data stored in the TRAC platform.static classTracDataApiGrpc.TracDataApiFutureStubPublic API for creating, updating, reading and querying primary data stored in the TRAC platform.static classTracDataApiGrpc.TracDataApiImplBasePublic API for creating, updating, reading and querying primary data stored in the TRAC platform.static classTracDataApiGrpc.TracDataApiStubPublic API for creating, updating, reading and querying primary data stored in the TRAC platform.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader>getCreateDatasetMethod()static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader>getCreateFileMethod()static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader>getCreateSmallDatasetMethod()static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader>getCreateSmallFileMethod()static io.grpc.MethodDescriptor<DataReadRequest,DataReadResponse>getReadDatasetMethod()static io.grpc.MethodDescriptor<FileReadRequest,FileReadResponse>getReadFileMethod()static io.grpc.MethodDescriptor<DataReadRequest,DataReadResponse>getReadSmallDatasetMethod()static io.grpc.MethodDescriptor<FileReadRequest,FileReadResponse>getReadSmallFileMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader>getUpdateDatasetMethod()static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader>getUpdateFileMethod()static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader>getUpdateSmallDatasetMethod()static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader>getUpdateSmallFileMethod()static TracDataApiGrpc.TracDataApiBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TracDataApiGrpc.TracDataApiFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TracDataApiGrpc.TracDataApiStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateDatasetMethod
public static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader> getCreateDatasetMethod()
-
getCreateSmallDatasetMethod
public static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader> getCreateSmallDatasetMethod()
-
getUpdateDatasetMethod
public static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader> getUpdateDatasetMethod()
-
getUpdateSmallDatasetMethod
public static io.grpc.MethodDescriptor<DataWriteRequest,org.finos.tracdap.metadata.TagHeader> getUpdateSmallDatasetMethod()
-
getReadDatasetMethod
public static io.grpc.MethodDescriptor<DataReadRequest,DataReadResponse> getReadDatasetMethod()
-
getReadSmallDatasetMethod
public static io.grpc.MethodDescriptor<DataReadRequest,DataReadResponse> getReadSmallDatasetMethod()
-
getCreateFileMethod
public static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader> getCreateFileMethod()
-
getCreateSmallFileMethod
public static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader> getCreateSmallFileMethod()
-
getUpdateFileMethod
public static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader> getUpdateFileMethod()
-
getUpdateSmallFileMethod
public static io.grpc.MethodDescriptor<FileWriteRequest,org.finos.tracdap.metadata.TagHeader> getUpdateSmallFileMethod()
-
getReadFileMethod
public static io.grpc.MethodDescriptor<FileReadRequest,FileReadResponse> getReadFileMethod()
-
getReadSmallFileMethod
public static io.grpc.MethodDescriptor<FileReadRequest,FileReadResponse> getReadSmallFileMethod()
-
newStub
public static TracDataApiGrpc.TracDataApiStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static TracDataApiGrpc.TracDataApiBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static TracDataApiGrpc.TracDataApiFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-