
scray.querying.description.internal.materials.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scray-querying Show documentation
Show all versions of scray-querying Show documentation
query engine core source code
The newest version!
package scray.querying.description.internal
import scray.querying.description.TableIdentifier
import scray.querying.description.Column
import scray.querying.description.TableConfiguration
import scray.querying.queries.DomainQuery
import scray.common.key.api.KeyGenerator
import scray.common.key.OrderedStringKeyGenerator
/**
* Contains information to find a materialized view
*
* @param krimaryKey Primary key column in database
*/
case class MaterializedView(
val table:TableIdentifier,
val keyGenerationClass: KeyGenerator[Array[String]] = OrderedStringKeyGenerator,
val primaryKeyColumn: String = "key"
//val fixedDomains: Array[Column]//, // single value domains -> multiple possible values
//rangeDomains: Array[(Column, Array[RangeValueDomain[_]])], // range value domains ->
//viewTable: TableConfiguration[_ <: DomainQuery, _ <: DomainQuery, _], // table implementing this materialized view
//checkMaterializedView: (MaterializedView, DomainQuery) => Option[(Boolean, Int)]
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy