object FixedVersionId extends FixedVersionIdEncoding
- Alphabetic
- By Inheritance
- FixedVersionId
- FixedVersionIdEncoding
- CatalogIdVersionEncoding
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(name: String, fixedVersion: Version): Id
Defines a catalog identifier to refer to a fixed version of the catalog.
Defines a catalog identifier to refer to a fixed version of the catalog. Given a catalog identifier and a version, the returned identifier refers the catalog in that version.
The fixed version is not provided by the pipeline job configuration but can, for example, be configured in the compiler configuration, read from an input catalog or be hardcoded in the source code of the compiler.
Example 1:
Default.FixedVersionId("output", 2)
refers to the output catalog in version 2.
Example 2:
Default.FixedVersionId("inputA", 5)
refers to the input catalog "inputA" in version 5.
Default.FixedVersionId("inputA", 5) }}} in version 5.
Default.FixedVersionId("output", 2) }}} version 2.
Example 2:
Default.FixedVersionId("inputA", 5)
refers to the input catalog "inputA" in version 5.
Default.FixedVersionId("inputA", 5) }}} in version 5.
- name
A catalog identifier from the configuration of the pipeline.
- fixedVersion
The version of the catalog to which should be referred. Must be greater than 0.
- returns
A catalog identifier that refers to the given catalog at a fixed version.
- Note
If two subsequent runs of the same compiler access different fixed versions of a catalog, the second run will be non-incremental to avoid data inconsistencies.
-
def
apply(catalogId: Id, fixedVersion: Version): Id
Defines a catalog identifier to refer to a fixed version of the catalog.
Defines a catalog identifier to refer to a fixed version of the catalog. Given a catalog identifier and a version, the returned identifier refers the catalog in that version.
The fixed version is not provided by the pipeline job configuration but can, for example, be configured in the compiler configuration, read from an input catalog or be hardcoded in the source code of the compiler.
Example 1:
Default.FixedVersionId(Default.OutCatalogId, 2)
refers to the output catalog in version 2.
Example 2:
Default.FixedVersionId(inputCatalogId, 5)
refers to an input catalog in version 5.
Default.FixedVersionId(inputCatalogId, 5) }}} catalog in version 5.
Default.FixedVersionId(Default.OutCatalogId, 2) }}} catalog in version 2.
Example 2:
Default.FixedVersionId(inputCatalogId, 5)
refers to an input catalog in version 5.
Default.FixedVersionId(inputCatalogId, 5) }}} catalog in version 5.
- catalogId
A catalog identifier from the configuration of the pipeline.
- fixedVersion
The version of the catalog to which should be referred. Must be greater than 0.
- returns
A catalog identifier that refers to the given catalog at a fixed version.
- Note
If two subsequent runs of the same compiler access different fixed versions of a catalog, the second run will be non-incremental to avoid data inconsistencies.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
encode(catalogId: String, argument: Long): Id
Given a catalog ID and a generic integer argument, returns a catalog ID encoding the argument.
Given a catalog ID and a generic integer argument, returns a catalog ID encoding the argument.
- catalogId
The original catalog ID, with no version information encoded.
- argument
The argument to be encoded.
- returns
The new catalog ID, with version information encoded.
- Attributes
- protected[impl]
- Definition Classes
- CatalogIdVersionEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
matches(catalogId: Id): Boolean
Checks if the given catalog ID matches the version encoding defined by the class.
Checks if the given catalog ID matches the version encoding defined by the class.
- catalogId
The catalog ID to be checked.
- returns
true
if the catalog ID matches,false
otherwise
- Attributes
- protected[impl]
- Definition Classes
- CatalogIdVersionEncoding
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapply(catalogId: Id): Option[(Id, Long)]
Given a catalog ID encoded in this encoding scheme, returns the decoded catalog ID and the encoding argument.
Given a catalog ID encoded in this encoding scheme, returns the decoded catalog ID and the encoding argument. Returns
None
if the given catalog ID is not encoded in this encoding scheme.- catalogId
The catalog ID to be decoded.
- returns
The original catalog ID and the encoding argument.
- Definition Classes
- CatalogIdVersionEncoding
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()