public interface Predicate extends IRQuery
Interface of predicate which is the least unit of IR query
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
static int |
PREDICATE_BOOL |
static int |
PREDICATE_QUALIFIER |
static int |
PREDICATE_RELATION |
static int |
PREDICATE_SIMPLE |
static int |
PREDICATE_TERM |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getConstraint() |
double |
getSelectivity() |
double |
getWeight() |
boolean |
isBoolPredicate() |
boolean |
isQualifierPredicate() |
boolean |
isRelationPredicate() |
boolean |
isSimplePredicate() |
boolean |
isTermPredicate() |
void |
setWeight(double weight) |
String |
toSQLExpression() |
String |
toString() |
getChild, getChildNum, getOperator, getQueryKey, isCompoundQuery, isPredicate, isRelBoolQuery, isRelSimpleQuery, parse, setQueryKeystatic final int PREDICATE_TERM
static final int PREDICATE_RELATION
static final int PREDICATE_QUALIFIER
static final int PREDICATE_SIMPLE
static final int PREDICATE_BOOL
double getSelectivity()
getSelectivity in interface IRQuerydouble getWeight()
void setWeight(double weight)
boolean isSimplePredicate()
boolean isBoolPredicate()
boolean isTermPredicate()
boolean isRelationPredicate()
boolean isQualifierPredicate()
Expression getConstraint()
String toSQLExpression()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.