public class ProgramId extends EntityId implements NamespacedId, ParentedId<ApplicationId>
| Constructor and Description |
|---|
ProgramId(String namespace,
String application,
ProgramType type,
String program) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
FlowletId |
flowlet(String flowlet) |
static ProgramId |
fromIdParts(Iterable<String> idString) |
static ProgramId |
fromString(String string) |
String |
getApplication() |
String |
getNamespace() |
NamespaceId |
getNamespaceId() |
ApplicationId |
getParent() |
String |
getProgram() |
ProgramType |
getType() |
int |
hashCode() |
ProgramRunId |
run(RunId runId)
Creates a
ProgramRunId of this program id with the given RunId. |
ProgramRunId |
run(String run)
Creates a
ProgramRunId of this program id with the given run id. |
Id.Program |
toId() |
protected Iterable<String> |
toIdParts() |
fromString, fromStringOld, getEntity, getHierarchy, isValidDatasetId, isValidId, next, nextAndEnd, remaining, toStringpublic ProgramId(String namespace, String application, ProgramType type, String program)
public String getNamespace()
getNamespace in interface NamespacedIdpublic String getApplication()
public ProgramType getType()
public String getProgram()
public NamespaceId getNamespaceId()
public ApplicationId getParent()
getParent in interface ParentedId<ApplicationId>EntityId of thispublic ProgramRunId run(String run)
ProgramRunId of this program id with the given run id.public ProgramRunId run(RunId runId)
ProgramRunId of this program id with the given RunId.public Id.Program toId()
toId in interface IdCompatibleId corresponding to thisCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.