Class MetadataServiceGrpc.MetadataServiceBlockingStub (3.42.0)

public static final class MetadataServiceGrpc.MetadataServiceBlockingStub extends AbstractBlockingStub<MetadataServiceGrpc.MetadataServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service MetadataService.

Service for reading and writing metadata entries.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MetadataServiceGrpc.MetadataServiceBlockingStub

Methods

addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request)

public AddContextArtifactsAndExecutionsResponse addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request)

Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.

Parameter
Name Description
request AddContextArtifactsAndExecutionsRequest
Returns
Type Description
AddContextArtifactsAndExecutionsResponse

addContextChildren(AddContextChildrenRequest request)

public AddContextChildrenResponse addContextChildren(AddContextChildrenRequest request)

Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.

Parameter
Name Description
request AddContextChildrenRequest
Returns
Type Description
AddContextChildrenResponse

addExecutionEvents(AddExecutionEventsRequest request)

public AddExecutionEventsResponse addExecutionEvents(AddExecutionEventsRequest request)

Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.

Parameter
Name Description
request AddExecutionEventsRequest
Returns
Type Description
AddExecutionEventsResponse

build(Channel channel, CallOptions callOptions)

protected MetadataServiceGrpc.MetadataServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MetadataServiceGrpc.MetadataServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createArtifact(CreateArtifactRequest request)

public Artifact createArtifact(CreateArtifactRequest request)

Creates an Artifact associated with a MetadataStore.

Parameter
Name Description
request CreateArtifactRequest
Returns
Type Description
Artifact

createContext(CreateContextRequest request)

public Context createContext(CreateContextRequest request)

Creates a Context associated with a MetadataStore.

Parameter
Name Description
request CreateContextRequest
Returns
Type Description
Context

createExecution(CreateExecutionRequest request)

public Execution createExecution(CreateExecutionRequest request)

Creates an Execution associated with a MetadataStore.

Parameter
Name Description
request CreateExecutionRequest
Returns
Type Description
Execution

createMetadataSchema(CreateMetadataSchemaRequest request)

public MetadataSchema createMetadataSchema(CreateMetadataSchemaRequest request)

Creates a MetadataSchema.

Parameter
Name Description
request CreateMetadataSchemaRequest
Returns
Type Description
MetadataSchema

createMetadataStore(CreateMetadataStoreRequest request)

public Operation createMetadataStore(CreateMetadataStoreRequest request)

Initializes a MetadataStore, including allocation of resources.

Parameter
Name Description
request CreateMetadataStoreRequest
Returns
Type Description
Operation

deleteArtifact(DeleteArtifactRequest request)

public Operation deleteArtifact(DeleteArtifactRequest request)

Deletes an Artifact.

Parameter
Name Description
request DeleteArtifactRequest
Returns
Type Description
Operation

deleteContext(DeleteContextRequest request)

public Operation deleteContext(DeleteContextRequest request)

Deletes a stored Context.

Parameter
Name Description
request DeleteContextRequest
Returns
Type Description
Operation

deleteExecution(DeleteExecutionRequest request)

public Operation deleteExecution(DeleteExecutionRequest request)

Deletes an Execution.

Parameter
Name Description
request DeleteExecutionRequest
Returns
Type Description
Operation

deleteMetadataStore(DeleteMetadataStoreRequest request)

public Operation deleteMetadataStore(DeleteMetadataStoreRequest request)

Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).

Parameter
Name Description
request DeleteMetadataStoreRequest
Returns
Type Description
Operation

getArtifact(GetArtifactRequest request)

public Artifact getArtifact(GetArtifactRequest request)

Retrieves a specific Artifact.

Parameter
Name Description
request GetArtifactRequest
Returns
Type Description
Artifact

getContext(GetContextRequest request)

public Context getContext(GetContextRequest request)

Retrieves a specific Context.

Parameter
Name Description
request GetContextRequest
Returns
Type Description
Context

getExecution(GetExecutionRequest request)

public Execution getExecution(GetExecutionRequest request)

Retrieves a specific Execution.

Parameter
Name Description
request GetExecutionRequest
Returns
Type Description
Execution

getMetadataSchema(GetMetadataSchemaRequest request)

public MetadataSchema getMetadataSchema(GetMetadataSchemaRequest request)

Retrieves a specific MetadataSchema.

Parameter
Name Description
request GetMetadataSchemaRequest
Returns
Type Description
MetadataSchema

getMetadataStore(GetMetadataStoreRequest request)

public MetadataStore getMetadataStore(GetMetadataStoreRequest request)

Retrieves a specific MetadataStore.

Parameter
Name Description
request GetMetadataStoreRequest
Returns
Type Description
MetadataStore

listArtifacts(ListArtifactsRequest request)

public ListArtifactsResponse listArtifacts(ListArtifactsRequest request)

Lists Artifacts in the MetadataStore.

Parameter
Name Description
request ListArtifactsRequest
Returns
Type Description
ListArtifactsResponse

listContexts(ListContextsRequest request)

public ListContextsResponse listContexts(ListContextsRequest request)

Lists Contexts on the MetadataStore.

Parameter
Name Description
request ListContextsRequest
Returns
Type Description
ListContextsResponse

listExecutions(ListExecutionsRequest request)

public ListExecutionsResponse listExecutions(ListExecutionsRequest request)

Lists Executions in the MetadataStore.

Parameter
Name Description
request ListExecutionsRequest
Returns
Type Description
ListExecutionsResponse

listMetadataSchemas(ListMetadataSchemasRequest request)

public ListMetadataSchemasResponse listMetadataSchemas(ListMetadataSchemasRequest request)

Lists MetadataSchemas.

Parameter
Name Description
request ListMetadataSchemasRequest
Returns
Type Description
ListMetadataSchemasResponse

listMetadataStores(ListMetadataStoresRequest request)

public ListMetadataStoresResponse listMetadataStores(ListMetadataStoresRequest request)

Lists MetadataStores for a Location.

Parameter
Name Description
request ListMetadataStoresRequest
Returns
Type Description
ListMetadataStoresResponse

purgeArtifacts(PurgeArtifactsRequest request)

public Operation purgeArtifacts(PurgeArtifactsRequest request)

Purges Artifacts.

Parameter
Name Description
request PurgeArtifactsRequest
Returns
Type Description
Operation

purgeContexts(PurgeContextsRequest request)

public Operation purgeContexts(PurgeContextsRequest request)

Purges Contexts.

Parameter
Name Description
request PurgeContextsRequest
Returns
Type Description
Operation

purgeExecutions(PurgeExecutionsRequest request)

public Operation purgeExecutions(PurgeExecutionsRequest request)

Purges Executions.

Parameter
Name Description
request PurgeExecutionsRequest
Returns
Type Description
Operation

queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request)

public LineageSubgraph queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request)

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

Parameter
Name Description
request QueryArtifactLineageSubgraphRequest
Returns
Type Description
LineageSubgraph

queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request)

public LineageSubgraph queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request)

Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

Parameter
Name Description
request QueryContextLineageSubgraphRequest
Returns
Type Description
LineageSubgraph

queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request)

public LineageSubgraph queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request)

Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.

Parameter
Name Description
request QueryExecutionInputsAndOutputsRequest
Returns
Type Description
LineageSubgraph

removeContextChildren(RemoveContextChildrenRequest request)

public RemoveContextChildrenResponse removeContextChildren(RemoveContextChildrenRequest request)

Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.

Parameter
Name Description
request RemoveContextChildrenRequest
Returns
Type Description
RemoveContextChildrenResponse

updateArtifact(UpdateArtifactRequest request)

public Artifact updateArtifact(UpdateArtifactRequest request)

Updates a stored Artifact.

Parameter
Name Description
request UpdateArtifactRequest
Returns
Type Description
Artifact

updateContext(UpdateContextRequest request)

public Context updateContext(UpdateContextRequest request)

Updates a stored Context.

Parameter
Name Description
request UpdateContextRequest
Returns
Type Description
Context

updateExecution(UpdateExecutionRequest request)

public Execution updateExecution(UpdateExecutionRequest request)

Updates a stored Execution.

Parameter
Name Description
request UpdateExecutionRequest
Returns
Type Description
Execution