Class CoreServiceGrpc.CoreServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    CoreServiceGrpc

    public abstract static class CoreServiceGrpc.CoreServiceImplBase
    extends Object
    implements io.grpc.BindableService
    • Constructor Detail

      • CoreServiceImplBase

        public CoreServiceImplBase()
    • Method Detail

      • listFeatureSets

        public void listFeatureSets​(CoreServiceProto.ListFeatureSetsRequest request,
                                    io.grpc.stub.StreamObserver<CoreServiceProto.ListFeatureSetsResponse> responseObserver)
         Retrieve feature set details given a filter.
         Returns all feature sets matching that filter. If none are found,
         an empty list will be returned.
         If no filter is provided in the request, the response will contain all the feature
         sets currently stored in the registry.
         
      • listFeatures

        public void listFeatures​(CoreServiceProto.ListFeaturesRequest request,
                                 io.grpc.stub.StreamObserver<CoreServiceProto.ListFeaturesResponse> responseObserver)
         Returns all feature references and respective features matching that filter. If none are found
         an empty map will be returned
         If no filter is provided in the request, the response will contain all the features
         currently stored in the default project.
         
      • listStores

        public void listStores​(CoreServiceProto.ListStoresRequest request,
                               io.grpc.stub.StreamObserver<CoreServiceProto.ListStoresResponse> responseObserver)
         Retrieve store details given a filter.
         Returns all stores matching that filter. If none are found, an empty list will be returned.
         If no filter is provided in the request, the response will contain all the stores currently
         stored in the registry.
         
      • applyFeatureSet

        public void applyFeatureSet​(CoreServiceProto.ApplyFeatureSetRequest request,
                                    io.grpc.stub.StreamObserver<CoreServiceProto.ApplyFeatureSetResponse> responseObserver)
         Create or update and existing feature set.
         This function is idempotent - it will not create a new feature set if schema does not change.
         Schema changes will update the feature set if the changes are valid.
         All changes except the following are valid:
         - Changes to feature set id (name, project)
         - Changes to entities
         - Changes to feature name and type
         
      • updateStore

        public void updateStore​(CoreServiceProto.UpdateStoreRequest request,
                                io.grpc.stub.StreamObserver<CoreServiceProto.UpdateStoreResponse> responseObserver)
         Updates core with the configuration of the store.
         If the changes are valid, core will return the given store configuration in response, and
         start or update the necessary feature population jobs for the updated store.
         
      • createProject

        public void createProject​(CoreServiceProto.CreateProjectRequest request,
                                  io.grpc.stub.StreamObserver<CoreServiceProto.CreateProjectResponse> responseObserver)
         Creates a project. Projects serve as namespaces within which resources like features will be
         created. Feature set names as must be unique within a project while field (Feature/Entity) names
         must be unique within a Feature Set. Project names themselves must be globally unique.
         
      • archiveProject

        public void archiveProject​(CoreServiceProto.ArchiveProjectRequest request,
                                   io.grpc.stub.StreamObserver<CoreServiceProto.ArchiveProjectResponse> responseObserver)
         Archives a project. Archived projects will continue to exist and function, but won't be visible
         through the Core API. Any existing ingestion or serving requests will continue to function,
         but will result in warning messages being logged. It is not possible to unarchive a project
         through the Core API
         
      • listIngestionJobs

        public void listIngestionJobs​(CoreServiceProto.ListIngestionJobsRequest request,
                                      io.grpc.stub.StreamObserver<CoreServiceProto.ListIngestionJobsResponse> responseObserver)
         List Ingestion Jobs given an optional filter.
         Returns allow ingestions matching the given request filter. 
         Returns all ingestion jobs if no filter is provided.
         Returns an empty list if no ingestion jobs match the filter.
         
      • restartIngestionJob

        public void restartIngestionJob​(CoreServiceProto.RestartIngestionJobRequest request,
                                        io.grpc.stub.StreamObserver<CoreServiceProto.RestartIngestionJobResponse> responseObserver)
         Restart an Ingestion Job.  Restarts the ingestion job with the given job id.
         NOTE: Data might be lost during the restart for some job runners.
         Does not support stopping a job in a transitional (ie pending, suspending, aborting), 
         terminal state (ie suspended or aborted) or unknown status
         
      • stopIngestionJob

        public void stopIngestionJob​(CoreServiceProto.StopIngestionJobRequest request,
                                     io.grpc.stub.StreamObserver<CoreServiceProto.StopIngestionJobResponse> responseObserver)
         Stop an Ingestion Job.  Stop (Aborts) the ingestion job with the given job id.
         Does nothing if the target job if already in a terminal state (ie suspended or aborted).
         Does not support stopping a job in a transitional (ie pending, suspending, aborting) or unknown status
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService