public class EDOALSQLCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
_O |
static int |
AGGREGATE |
static int |
ALL |
static int |
AND |
static int |
APPLY |
static int |
CLASS |
static int |
COD |
static int |
COMP |
static int |
DOM |
static int |
EQUAL_KEY |
static int |
EXIST |
private java.sql.PreparedStatement |
findApplyArgs |
private java.sql.PreparedStatement |
findApplyExpr |
private java.sql.PreparedStatement |
findBindings |
private java.sql.PreparedStatement |
findClassConst |
private java.sql.PreparedStatement |
findClassIdByUri |
private java.sql.PreparedStatement |
findClassJoins |
private java.sql.PreparedStatement |
findClassRestr |
private java.sql.PreparedStatement |
findClassUri |
private java.sql.PreparedStatement |
findClassValueRestr |
private java.sql.PreparedStatement |
findDatatypeIdByUri |
private java.sql.PreparedStatement |
findDatatypeUri |
private java.sql.PreparedStatement |
findEDOALJoins |
private java.sql.PreparedStatement |
findInstByUri |
private java.sql.PreparedStatement |
findInstUri |
private java.sql.PreparedStatement |
findLinkkey |
private java.sql.PreparedStatement |
findLiteral |
private java.sql.PreparedStatement |
findLiteralByValue |
private java.sql.PreparedStatement |
findPathExpr |
private java.sql.PreparedStatement |
findPropConst |
private java.sql.PreparedStatement |
findPropExpr |
private java.sql.PreparedStatement |
findPropIdByUri |
private java.sql.PreparedStatement |
findPropUri |
private java.sql.PreparedStatement |
findPropValueRest |
private java.sql.PreparedStatement |
findRelConst |
private java.sql.PreparedStatement |
findRelExpr |
private java.sql.PreparedStatement |
findRelIdByUri |
private java.sql.PreparedStatement |
findRelUri |
private java.sql.PreparedStatement |
findTransf |
private java.sql.PreparedStatement |
findTypedLiteralByTypedValue |
private java.sql.PreparedStatement |
findValueExpr |
static int |
ID |
private java.sql.PreparedStatement |
insertAggrExpr |
private java.sql.PreparedStatement |
insertApplyArgs |
private java.sql.PreparedStatement |
insertApplyExpr |
private java.sql.PreparedStatement |
insertBinding |
private java.sql.PreparedStatement |
insertClassConst |
private java.sql.PreparedStatement |
insertClassExpr |
private java.sql.PreparedStatement |
insertClassId |
private java.sql.PreparedStatement |
insertClassRestr |
private java.sql.PreparedStatement |
insertClassValueRestr |
private java.sql.PreparedStatement |
insertDatatype |
private java.sql.PreparedStatement |
insertEDOALExpr |
private java.sql.PreparedStatement |
insertInst |
private java.sql.PreparedStatement |
insertLinkkey |
private java.sql.PreparedStatement |
insertLiteral |
private java.sql.PreparedStatement |
insertPathExpr |
private java.sql.PreparedStatement |
insertPropConst |
private java.sql.PreparedStatement |
insertPropExpr |
private java.sql.PreparedStatement |
insertPropId |
private java.sql.PreparedStatement |
insertPropValueRest |
private java.sql.PreparedStatement |
insertRelConst |
private java.sql.PreparedStatement |
insertRelExpr |
private java.sql.PreparedStatement |
insertRelId |
private java.sql.PreparedStatement |
insertTransf |
private java.sql.PreparedStatement |
insertTypedLiteral |
private java.sql.PreparedStatement |
insertValueExpr |
static int |
INST |
static int |
INSTANCE |
static int |
INTER_KEY |
static int |
INV |
private boolean |
isPattern |
static int |
LIT |
(package private) static org.slf4j.Logger |
logger |
static int |
NOT |
static int |
O_ |
static int |
OCC_EQ |
static int |
OCC_GEQ |
static int |
OCC_LEQ |
static int |
OO |
static int |
OR |
static int |
PATH |
static int |
PPT |
static int |
PROPERTY |
static int |
REFL |
static int |
REL |
static int |
RELATION |
static int |
REST |
(package private) DBService |
service |
static int |
SYM |
static int |
TRANS |
static int |
TYP |
static int |
VAL |
static int |
VALUE |
Constructor and Description |
---|
EDOALSQLCache(DBService serv) |
static final org.slf4j.Logger logger
private boolean isPattern
DBService service
public static final int ID
public static final int AND
public static final int OR
public static final int NOT
public static final int COMP
public static final int INV
public static final int SYM
public static final int TRANS
public static final int REFL
public static final int OCC_GEQ
public static final int OCC_LEQ
public static final int OCC_EQ
public static final int ALL
public static final int EXIST
public static final int DOM
public static final int TYP
public static final int VAL
public static final int COD
public static final int LIT
public static final int REL
public static final int PPT
public static final int INST
public static final int EQUAL_KEY
public static final int INTER_KEY
public static final int OO
public static final int O_
public static final int _O
public static final int VALUE
public static final int INSTANCE
public static final int PATH
public static final int APPLY
public static final int RELATION
public static final int PROPERTY
public static final int CLASS
public static final int REST
public static final int AGGREGATE
private java.sql.PreparedStatement findEDOALJoins
private java.sql.PreparedStatement insertEDOALExpr
private java.sql.PreparedStatement findClassUri
private java.sql.PreparedStatement findClassIdByUri
private java.sql.PreparedStatement insertClassId
private java.sql.PreparedStatement findClassJoins
private java.sql.PreparedStatement insertClassExpr
private java.sql.PreparedStatement findClassConst
private java.sql.PreparedStatement insertClassConst
private java.sql.PreparedStatement findClassRestr
private java.sql.PreparedStatement insertClassRestr
private java.sql.PreparedStatement findClassValueRestr
private java.sql.PreparedStatement insertClassValueRestr
private java.sql.PreparedStatement findPathExpr
private java.sql.PreparedStatement insertPathExpr
private java.sql.PreparedStatement findPropUri
private java.sql.PreparedStatement findPropIdByUri
private java.sql.PreparedStatement insertPropId
private java.sql.PreparedStatement findPropExpr
private java.sql.PreparedStatement insertPropExpr
private java.sql.PreparedStatement findPropConst
private java.sql.PreparedStatement insertPropConst
private java.sql.PreparedStatement findPropValueRest
private java.sql.PreparedStatement insertPropValueRest
private java.sql.PreparedStatement findRelExpr
private java.sql.PreparedStatement insertRelExpr
private java.sql.PreparedStatement findRelUri
private java.sql.PreparedStatement findRelIdByUri
private java.sql.PreparedStatement insertRelId
private java.sql.PreparedStatement findRelConst
private java.sql.PreparedStatement insertRelConst
private java.sql.PreparedStatement findInstUri
private java.sql.PreparedStatement findInstByUri
private java.sql.PreparedStatement insertInst
private java.sql.PreparedStatement findTransf
private java.sql.PreparedStatement insertTransf
private java.sql.PreparedStatement findLinkkey
private java.sql.PreparedStatement insertLinkkey
private java.sql.PreparedStatement findBindings
private java.sql.PreparedStatement insertBinding
private java.sql.PreparedStatement findLiteral
private java.sql.PreparedStatement findLiteralByValue
private java.sql.PreparedStatement findTypedLiteralByTypedValue
private java.sql.PreparedStatement insertLiteral
private java.sql.PreparedStatement insertTypedLiteral
private java.sql.PreparedStatement findDatatypeIdByUri
private java.sql.PreparedStatement findDatatypeUri
private java.sql.PreparedStatement insertDatatype
private java.sql.PreparedStatement findValueExpr
private java.sql.PreparedStatement insertValueExpr
private java.sql.PreparedStatement findApplyExpr
private java.sql.PreparedStatement insertApplyExpr
private java.sql.PreparedStatement insertAggrExpr
private java.sql.PreparedStatement findApplyArgs
private java.sql.PreparedStatement insertApplyArgs
public EDOALSQLCache(DBService serv)
public void compileQueries() throws java.sql.SQLException
java.sql.SQLException
public java.sql.Statement createStatement() throws java.sql.SQLException
java.sql.SQLException
public java.sql.PreparedStatement createStatement(java.lang.String query) throws java.sql.SQLException
java.sql.SQLException
public java.sql.PreparedStatement createInsertStatement(java.lang.String updatePattern) throws java.sql.SQLException
java.sql.SQLException
public long executeUpdateWithId(java.sql.PreparedStatement st, java.lang.String msg) throws java.sql.SQLException
java.sql.SQLException
public void init() throws AlignmentException
AlignmentException
public void renderVariables(Expression expr)
public void erase(EDOALCell cell)
public Expression extractExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(Expression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ClassExpression extractClassExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(ClassExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ClassId extractClassId(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(ClassId e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ClassConstruction extractClassConstruction(int op, long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(ClassConstruction e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ClassRestriction extractClassRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(ClassRestriction e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ClassValueRestriction extractClassValueRestriction(PathExpression pe, long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(long pathid, ClassValueRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(long pathid, ClassTypeRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(long pathid, ClassDomainRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(long pathid, ClassOccurenceRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long registerClassRestriction(int type, long path, long joinid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PathExpression extractPathExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PathExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PropertyExpression extractPropertyExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PropertyId extractPropertyId(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyId e) throws java.sql.SQLException
java.sql.SQLException
public PropertyConstruction extractPropertyConstruction(int op, long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyConstruction e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PropertyValueRestriction extractPropertyValueRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyValueRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PropertyDomainRestriction extractPropertyDomainRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyDomainRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public PropertyTypeRestriction extractPropertyTypeRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(PropertyTypeRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public RelationExpression extractRelationExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public RelationId extractRelationId(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationId e) throws java.sql.SQLException
java.sql.SQLException
public long registerClassId(Id expr) throws java.sql.SQLException
java.sql.SQLException
public long registerRelationId(Id expr) throws java.sql.SQLException
java.sql.SQLException
public long registerPropertyId(Id expr) throws java.sql.SQLException
java.sql.SQLException
public long registerInstanceId(Id expr) throws java.sql.SQLException
java.sql.SQLException
public long registerValueExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public long registerClassExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public long registerRelationExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public long registerPropertyExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public long registerPathExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public long registerEDOALExpression(int type, long join) throws java.sql.SQLException
java.sql.SQLException
public RelationConstruction extractRelationConstruction(int op, long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationConstruction e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public RelationCoDomainRestriction extractRelationCoDomainRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationCoDomainRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public RelationDomainRestriction extractRelationDomainRestriction(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(RelationDomainRestriction c) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public ValueExpression extractValueExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(ValueExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public InstanceExpression extractInstanceExpression(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(InstanceExpression e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public InstanceId extractInstanceId(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(InstanceId e) throws java.sql.SQLException
java.sql.SQLException
public Value extractValue(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(Value e) throws java.sql.SQLException, AlignmentException
e
- the Valuejava.sql.SQLException
AlignmentException
public ValueExpression extractApply(long intid, int type) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(Apply e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(Aggregate e) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public java.net.URI extractDatatype(long intid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visitDatatype(java.lang.String uri) throws java.sql.SQLException
java.sql.SQLException
public long visit(Datatype e) throws java.sql.SQLException
java.sql.SQLException
public void extractTransformations(java.lang.String cellid, EDOALCell cell) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public long visit(Transformation transf, java.lang.String cellid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public void extractLinkkeys(java.lang.String cellid, EDOALCell cell) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public void visit(Linkkey linkkey, java.lang.String cellid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
public void extractBindings(long keyid, Linkkey key) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
private void visit(LinkkeyBinding linkkeyBinding, long keyid) throws java.sql.SQLException, AlignmentException
java.sql.SQLException
AlignmentException
(C) INRIA & friends, 2003-2020