trait ExternalLinkService[T <: ExternalLink] extends AnyRef
- Alphabetic
- By Inheritance
- ExternalLinkService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def externalLink: T
- abstract def put(batchDataset: BatchDataset): Unit
- abstract def put(dataPoints: Seq[DataPoint]): Unit
- abstract def schema: Schema
- abstract def setLinkedValues(dstaset: BatchDataset, exprs: Set[LinkExpr[_]]): Unit
Sets requested external link expressions values into a batch of ValueData
Sets requested external link expressions values into a batch of ValueData
- exprs
expressions to be set
- abstract def transformCondition(condition: FlatAndCondition, startTime: Time, user: YupanaUser): Seq[ConditionTransformation]
Transforms condition according to filter by this external link conditions.
Transforms condition according to filter by this external link conditions. For example:
linkX_fieldY = 'value1' AND linkY_fieldZ = 'value2' AND time >= TIMESTAMP '2019-02-01' AND time < TIMESTAMP '2019-02-28'
might be transformed by
ExternalLinkService
for catalogX to:tagX in (`tagValue1`, `tagValue2`) AND linkY_fieldZ = 'value2' AND time >= TIMESTAMP '2019-02-01' AND time < TIMESTAMP '2019-02-28'
So, the main idea is to provide more primitive conditions using values for supported fields (and maybe other fields as a context for catalog).
- condition
condition to be transformed
- startTime
query start time. This might be used to produce nested queries
- user
yupana user performing the query
- returns
sequence of transformations applied to the initial condition, basically each transformation is a mapping from one expression to another. It should preserve time bounds even if there no conditions supported by this catalog.
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val putEnabled: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)