class SchemaHandler extends StrictLogging
Handles access to datasets metadata, eq. domains / types / schemas.
- Alphabetic
- By Inheritance
- SchemaHandler
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SchemaHandler(storage: StorageHandler)(implicit settings: Settings)
- storage
: Underlying filesystem manager
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
-
lazy val
activeEnv: Map[String, String]
- Annotations
- @throws( ... )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assertions(name: String): Map[String, AssertionDefinition]
- Annotations
- @throws( ... )
-
def
checkValidity(): Unit
- Annotations
- @throws( ... )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
domains: List[Domain]
All defined domains Domains are defined under the "domains" folder in the metadata folder
All defined domains Domains are defined under the "domains" folder in the metadata folder
- Annotations
- @throws( ... )
-
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
getDomain(name: String): Option[Domain]
Find domain by name
Find domain by name
- name
: Domain name
- returns
Unique Domain referenced by this name.
-
def
getSchema(domainName: String, schemaName: String): Option[Schema]
Get schema by name for a domain
Get schema by name for a domain
- domainName
: Domain name
- schemaName
: Sceham name
- returns
Unique Schema with this name for a domain
-
def
getSchemas(domain: String): List[Schema]
Return all schemas for a domain
Return all schemas for a domain
- domain
: Domain name
- returns
List of schemas for a domain, empty list if no schema or domain is found
-
def
getType(tpe: String): Option[Type]
Fnd type by name
Fnd type by name
- tpe
: Type name
- returns
Unique type referenced by this name.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
jobs: Map[String, AutoJobDesc]
All defined jobs Jobs are defined under the "jobs" folder in the metadata folder
All defined jobs Jobs are defined under the "jobs" folder in the metadata folder
- Annotations
- @throws( ... )
- def loadJobFromFile(path: Path): Try[AutoJobDesc]
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
- val mapper: ObjectMapper with ScalaObjectMapper
-
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
-
lazy val
types: List[Type]
All defined types.
All defined types. Load all default types defined in the file default.comet.yml Types are located in the only file "types.comet.yml" Types redefined in the file "types.comet.yml" supersede the ones in "default.comet.yml"
- Annotations
- @throws( ... )
- def views(name: String): Views
-
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()