Class LineageResource


  • @Path("/v1/lineage")
    @Produces("application/json")
    @Consumes("application/json")
    public class LineageResource
    extends Object
    • Constructor Detail

    • Method Detail

      • get

        @GET
        @Valid
        @Path("/{entity}/{id}")
        public @Valid EntityLineage get​(@Context
                                        javax.ws.rs.core.UriInfo uriInfo,
                                        @PathParam("entity")
                                        String entity,
                                        @PathParam("id")
                                        String id,
                                        @DefaultValue("1") @Min(0L) @Max(3L) @QueryParam("upstreamDepth")
                                        @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(3L) int upstreamDepth,
                                        @DefaultValue("1") @Min(0L) @Max(3L) @QueryParam("downstreamDepth")
                                        @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(3L) int downStreamDepth)
                                 throws IOException
        Throws:
        IOException
      • getByName

        @GET
        @Valid
        @Path("/{entity}/name/{fqn}")
        public @Valid EntityLineage getByName​(@Context
                                              javax.ws.rs.core.UriInfo uriInfo,
                                              @PathParam("entity")
                                              String entity,
                                              @PathParam("fqn")
                                              String fqn,
                                              @DefaultValue("1") @Min(0L) @Max(3L) @QueryParam("upstreamDepth")
                                              @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(3L) int upstreamDepth,
                                              @DefaultValue("1") @Min(0L) @Max(3L) @QueryParam("downstreamDepth")
                                              @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(3L) int downStreamDepth)
                                       throws IOException
        Throws:
        IOException
      • addLineage

        @PUT
        public javax.ws.rs.core.Response addLineage​(@Context
                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                    @Context
                                                    javax.ws.rs.core.SecurityContext securityContext,
                                                    @Valid
                                                    @Valid AddLineage addLineage)
                                             throws IOException
        Throws:
        IOException
      • deleteLineage

        @DELETE
        @Path("/{fromEntity}/{fromId}/{toEntity}/{toId}")
        public javax.ws.rs.core.Response deleteLineage​(@Context
                                                       javax.ws.rs.core.UriInfo uriInfo,
                                                       @Context
                                                       javax.ws.rs.core.SecurityContext securityContext,
                                                       @PathParam("fromEntity")
                                                       String fromEntity,
                                                       @PathParam("fromId")
                                                       String fromId,
                                                       @PathParam("toEntity")
                                                       String toEntity,
                                                       @PathParam("toId")
                                                       String toId)
                                                throws IOException
        Throws:
        IOException