public class OptimalCover extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
ALWAYS_INCLUDE_BLOCKS
Whether or not to always include the blocking predicates.
|
static double |
BLOCK_ADVANTAGE_DEFAULT |
static String |
BLOCK_ADVANTAGE_KEY
The cost for a blocking predicate is divided by this.
|
static String |
CONFIG_PREFIX |
static double |
JOIN_PENALTY_DEFAULT |
static String |
JOIN_PENALTY_KEY
The cost for a JOIN.
|
Modifier and Type | Method and Description |
---|---|
static Formula |
computeOptimalCover(Formula baseFormula,
RDBMSDataStore dataStore)
Given a querable formula (see DatabaseQuery), find a fomula that will return the same variable assignments,
but while minimizing joins and intermitent result set size.
|
public static final String CONFIG_PREFIX
public static final String BLOCK_ADVANTAGE_KEY
public static final double BLOCK_ADVANTAGE_DEFAULT
public static final String JOIN_PENALTY_KEY
public static final double JOIN_PENALTY_DEFAULT
public static final boolean ALWAYS_INCLUDE_BLOCKS
public static Formula computeOptimalCover(Formula baseFormula, RDBMSDataStore dataStore)
Copyright © 2018 University of California, Santa Cruz. All rights reserved.