Package org.finos.tracdap.api
Class TracDataApiGrpc
java.lang.Object
org.finos.tracdap.api.TracDataApiGrpc
@Generated(value="by gRPC proto compiler (version 1.68.0)",
comments="Source: tracdap/api/data.proto")
public final class TracDataApiGrpc
extends Object
Public 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 ClassesModifier and TypeClassDescriptionstatic interfacePublic API for creating, updating, reading and querying primary data stored in the TRAC platform.static final classA stub to allow clients to do synchronous rpc calls to service TracDataApi.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service TracDataApi.static classBase class for the server implementation of the service TracDataApi.static final classA stub to allow clients to do asynchronous rpc calls to service TracDataApi. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(TracDataApiGrpc.AsyncService service) static io.grpc.MethodDescriptor<DataWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<FileWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<DataWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<FileWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<DownloadRequest, DownloadResponse> static io.grpc.MethodDescriptor<DownloadRequest, DownloadResponse> static io.grpc.MethodDescriptor<DataReadRequest, DataReadResponse> static io.grpc.MethodDescriptor<FileReadRequest, FileReadResponse> static io.grpc.MethodDescriptor<DataReadRequest, DataReadResponse> static io.grpc.MethodDescriptor<FileReadRequest, FileReadResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<DataWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<FileWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<DataWriteRequest, org.finos.tracdap.metadata.TagHeader> static io.grpc.MethodDescriptor<FileWriteRequest, org.finos.tracdap.metadata.TagHeader> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
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
-
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
-
getReadSmallFileMethod
-
getDownloadFileMethod
-
getDownloadLatestFileMethod
public static io.grpc.MethodDescriptor<DownloadRequest,DownloadResponse> getDownloadLatestFileMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(TracDataApiGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-