tools.codebuilder.RootEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brunner-core-tools Show documentation
Show all versions of brunner-core-tools Show documentation
Tools module for the BRunner project
The newest version!
package tools.codebuilder;
public enum RootEnum {
RootEnum;
static final String OPEN = "open";
public enum FileExtensions {
DLGP;
public enum Rulebase {
DLGP, OWL;
}
public enum Factbase {
DLGP, DLGPE, RDF, CSV, RLS;
}
public enum Querybase {
DLGP;
}
public enum Mappingbase {
JSON;
}
}
public enum Storage {
STORAGE;
public enum DBMSDriverParameters {
CLEAR_DB(OPEN), DATABASE_NAME(OPEN), PORT(OPEN), USER_PASSWORD(OPEN), USER_NAME(OPEN), URL(OPEN);
private final String value;
DBMSDriverParameters(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
public enum DriverType {
HSQLDB, PostgreSQL, MySQL, SQLite;
}
public enum DBType {
SPARQL, DEFAULT_IN_MEMORY_ATOM_SET, SIMPLE_FO_FORMULA_STORE, SIMPLE_IN_MEMORY_GRAPH_STORE, SQL;
}
public enum StorageLayout {
AD_HOC_SQL, ENCODING_AD_HOC_SQL;
}
}
public enum Chase {
CHASE;
public enum Transformer {
ALL, FRONTIER;
}
public enum Computer {
NAIVE_COMPUTER, SEMI_NAIVE, TWO_STEP;
}
public enum Checker {
TRUE, SEMI_OBLIVIOUS, RESTRICTED, OBLIVIOUS, EQUIVALENT;
}
public enum Application {
DIRECT, PARALLEL;
}
public enum Applier {
SOURCE_DELEGATED_DATALOG, PARALLEL_TRIGGER, BREADTH_FIRST_TRIGGER;
}
public enum Evaluator {
GENERIC, SMART;
}
public enum Skolem {
FRONTIER_PIECE, BODY, FRESH, FRONTIER;
}
public enum Scheduler {
GRD, NAIVE_SCHEDULER;
}
}
public enum Compilation {
NO_COMPILATION, ID_COMPILATION, HIERARCHICAL_COMPILATION;
}
public enum Answers {
ANSWER_LIST, ANSWER_COUNT_ONLY;
}
public enum Service {
OMQ_REWRITING, RULE_COMPILATION, CSV_RLS_ENCODING, OMQA_REW, KB_CHASE, QUERY_ANSWERING,
QUERY_ANSWERING_VIA_HYBRID_STRATEGY, OMQA_CHASE, QUERY_EXPLANATION;
public static final Object[] OMQ_REWRITING_Properties = { Compilation.class };
public static final Object[] RULE_COMPILATION_Properties = { Compilation.class };
public static final Object[] CSV_RLS_ENCODING_Properties = { Storage.class };
public static final Object[] OMQA_REW_Properties = { Storage.class, Compilation.class, Answers.class };
public static final Object[] KB_CHASE_Properties = { Storage.class, Compilation.class, Chase.class };
public static final Object[] QUERY_ANSWERING_Properties = { Storage.class, Answers.class };
public static final Object[] QUERY_ANSWERING_VIA_HYBRID_STRATEGY_Properties = { Storage.DBType.class,
Compilation.class,
/*
* CHASE.APPLIER, CHASE.TRANSFORMER, FILEEXTENSIONS.FACTBASE,
* STORAGE.DBMSDRIVERPARAMETERS.USER_PASSWORD, FILEEXTENSIONS,
* STORAGE.DBMSDRIVERPARAMETERS.PORT, STORAGE.DBMSDRIVERPARAMETERS.USER_NAME,
* CHASE.COMPUTER, STORAGE.STORAGELAYOUT, ANSWERS, CHASE.EVALUATOR,
* FILEEXTENSIONS.QUERYBASE, STORAGE.DBMSDRIVERPARAMETERS.URL, CHASE, STORAGE,
* STORAGE.DRIVERTYPE, CHASE.SKOLEM, CHASE.APPLICATION, FILEEXTENSIONS.RULEBASE,
* STORAGE.DBMSDRIVERPARAMETERS.DATABASE_NAME, FILEEXTENSIONS.MAPPINGBASE,
* CHASE.CHECKER, STORAGE.DBMSDRIVERPARAMETERS.CLEAR_DB, CHASE.SCHEDULER
*/ };
public static final Object[] OMQA_CHASE_Properties = { Storage.class, Answers.class, Chase.class };
public static final Object[] QUERY_EXPLANATION_Properties = { Storage.class, Compilation.class, Answers.class,
Chase.class };
}
}