All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scray.querying.description.internal.materials.scala Maven / Gradle / Ivy

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