public final class BuildItem extends SyntaxObject
SyntaxObject
that specifies a Buildable
object and optionally a BuildSpecification
, or a system change number (SCN), or both. An SCN identifies the state of the source data as of a particular moment when the database recorded a change to the source table. For information on obtaining system change numbers, see Oracle Database SQL Language Reference.Constructor and Description |
---|
BuildItem(Buildable obj)
Creates a
BuildItem for a Buildable object. |
BuildItem(Buildable obj, BuildSpecification inlineSpec)
Creates a
BuildItem for a Buildable object, using the specified BuildSpecification . |
BuildItem(Buildable obj, BuildSpecification inlineSpec, long scn)
Creates a
BuildItem for a Buildable object, using the specified BuildSpecification and using data as of the SCN. |
BuildItem(Buildable obj, long scn)
Creates a
BuildItem for a Buildable object, using data as of the SCN. |
BuildItem(Buildable obj, java.lang.String buildName)
Creates a
BuildItem for a Buildable object, using the named BuildSpecification . |
BuildItem(Buildable obj, java.lang.String buildName, long scn)
Creates a
BuildItem for a Buildable object, using the named BuildSpecification and using data as of the SCN. |
Modifier and Type | Method and Description |
---|---|
long |
getAsOfSCN()
Gets the system change number (SCN) at which to apply the build.
|
Buildable |
getBuildObject()
Gets the
Buildable object that is associated with this BuildItem . |
java.lang.String |
getBuildObjectID()
Gets the ID of the
Buildable object that is associated with this BuildItem . |
java.lang.String |
getBuildSpecName()
Gets the name of the
BuildSpecification for a BuildItem that was created with the BuildItem(BaseMetadataObjectReference obj, String buildName) constructor. |
BuildSpecification |
getInlineBuildSpecification()
Gets the
BuildSpecification for a BuildItem that was created with the BuildItem(BaseMetadataObjectReference obj, BuildSpecification inlineSpec) constructor. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitBuildItem method of the SyntaxObjectVisitor and passes that method this BuildItem and an Object . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public BuildItem(Buildable obj)
BuildItem
for a Buildable
object.obj
- The MdmCube
or MdmPrimaryDimension
to build.public BuildItem(Buildable obj, long scn)
BuildItem
for a Buildable
object, using data as of the SCN.obj
- The MdmCube
or MdmPrimaryDimension
to build.scn
- A long
value that specifies the SCN at which to load data.public BuildItem(Buildable obj, java.lang.String buildName)
BuildItem
for a Buildable
object, using the named BuildSpecification
.obj
- The MdmCube
to build.buildName
- A String
that contains the name of a BuildSpecification
contained by the AWCubeOrganization
for the MdmCube
.public BuildItem(Buildable obj, java.lang.String buildName, long scn)
BuildItem
for a Buildable
object, using the named BuildSpecification
and using data as of the SCN.obj
- The MdmCube
to build.buildName
- A String
that contains the name of a BuildSpecification
contained by the AWCubeOrganization
for the MdmCube
.scn
- A long
value that specifies the SCN at which to load data.public BuildItem(Buildable obj, BuildSpecification inlineSpec)
BuildItem
for a Buildable
object, using the specified BuildSpecification
.obj
- The MdmCube
or MdmPrimaryDimension
to build.inlineSpec
- A BuildSpecification
that contains the BuildCommand
objects to use.public BuildItem(Buildable obj, BuildSpecification inlineSpec, long scn)
BuildItem
for a Buildable
object, using the specified BuildSpecification
and using data as of the SCN.obj
- The MdmCube
or MdmPrimaryDimension
to build.inlineSpec
- A BuildSpecification
that contains the BuildCommand
objects to use.scn
- A long
value that specifies the SCN at which to load data.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitBuildItem
method of the SyntaxObjectVisitor
and passes that method this BuildItem
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitBuildItem
method.public java.lang.String getBuildSpecName()
BuildSpecification
for a BuildItem
that was created with the BuildItem(BaseMetadataObjectReference obj, String buildName)
constructor. or BuildItem(Buildable obj, String buildName)
constructor.String
that contains the name of the BuildSpecification
associated with this BuildItem
.public Buildable getBuildObject()
Buildable
object that is associated with this BuildItem
.Buildable
object associated with this BuildItem
.public java.lang.String getBuildObjectID()
Buildable
object that is associated with this BuildItem
.String
that contains the ID of the Buildable
object associated with this BuildItem
.public BuildSpecification getInlineBuildSpecification()
BuildSpecification
for a BuildItem
that was created with the BuildItem(BaseMetadataObjectReference obj, BuildSpecification inlineSpec)
constructor. or BuildItem(Buildable obj, BuildSpecification inlineSpec)
BuildSpecification
associated with this BuildItem
.public long getAsOfSCN()
LoadCommand
as of the SCN.long
that is the SCN of this BuildItem
.