| Modifier and Type | Method and Description |
|---|---|
SqlDatatype |
E_SqlFunction.getDatatype() |
| Constructor and Description |
|---|
E_SqlFunction(com.hp.hpl.jena.sparql.expr.ExprFunction exprFunction,
SqlDatatype resultType) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ExprStructuralHash._hash(com.hp.hpl.jena.sparql.expr.ExprFunction expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprDatatypeHash._hash(com.hp.hpl.jena.sparql.expr.ExprFunction expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprStructuralHash._hash(com.hp.hpl.jena.sparql.expr.ExprVar expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprDatatypeHash._hash(com.hp.hpl.jena.sparql.expr.ExprVar expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprStructuralHash._hash(com.hp.hpl.jena.sparql.expr.NodeValue expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprDatatypeHash._hash(com.hp.hpl.jena.sparql.expr.NodeValue expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprStructuralHash._hashArgs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprDatatypeHash._hashArgs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprStructuralHash.hash(com.hp.hpl.jena.sparql.expr.Expr expr,
Map<String,SqlDatatype> columnToDatatype) |
static int |
ExprDatatypeHash.hash(com.hp.hpl.jena.sparql.expr.Expr expr,
Map<String,SqlDatatype> columnToDatatype) |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlDatatypeBase |
class |
SqlDatatypeDateTime |
class |
SqlDatatypeGeography |
class |
SqlDatatypeReal |
| Modifier and Type | Method and Description |
|---|---|
static SqlDatatype |
SqlDatatypeEvaluator._eval(S_Concat expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(S_Function expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(S_LogicalAnd expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(S_LogicalNot expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(S_LogicalOr expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(SqlExprColumn expr) |
static SqlDatatype |
SqlDatatypeEvaluator._eval(SqlExprValue expr) |
static SqlDatatype |
SqlDatatypeEvaluator.eval(SqlExpr expr) |
SqlDatatype |
SqlDatatypeBase.getBaseType() |
static SqlDatatype |
SqlDatatypeEvaluator.getDatatype(Object o) |
| Modifier and Type | Method and Description |
|---|---|
static SqlDatatype |
S_Equals.getCommonDataype(SqlExpr left,
SqlExpr right,
DatatypeSystemOld system) |
SqlDatatype |
SqlAggregatorCount.getDatatype() |
SqlDatatype |
SqlAggregator.getDatatype()
This method must always return the same result
|
SqlDatatype |
SqlExpr.getDatatype() |
SqlDatatype |
SqlExprBase.getDatatype() |
| Modifier and Type | Method and Description |
|---|---|
static SqlExprValue |
SqlExprValue.createNull(SqlDatatype datatype) |
static SqlExprValue |
S_Equals.tryCast(SqlExprValue value,
SqlDatatype datatype) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,SqlDatatype> |
SqlNodeUtil.getColumnToDatatype(SqlNodeOld sqlNode) |
| Modifier and Type | Field and Description |
|---|---|
static SqlDatatype |
DatatypeSystemDefault._BOOLEAN |
static SqlDatatype |
DatatypeSystemDefault._BYTE |
static SqlDatatype |
DatatypeSystemDefault._DATE |
static SqlDatatype |
DatatypeSystemDefault._DATE_TIME |
static SqlDatatype |
DatatypeSystemDefault._DECIMAL |
static SqlDatatype |
DatatypeSystemDefault._DOUBLE |
static SqlDatatype |
DatatypeSystemDefault._FLOAT |
static SqlDatatype |
DatatypeSystemDefault._GEOGRAPHY |
static SqlDatatype |
DatatypeSystemDefault._GEOMETRY |
static SqlDatatype |
DatatypeSystemDefault._INT |
static SqlDatatype |
DatatypeSystemDefault._INTEGER |
static SqlDatatype |
DatatypeSystemDefault._LONG |
static SqlDatatype |
DatatypeSystemDefault._NEGATIVE_INTEGER |
static SqlDatatype |
DatatypeSystemDefault._NON_NEGATIVE_INTEGER |
static SqlDatatype |
DatatypeSystemDefault._NON_POSITIVE_INTEGER |
static SqlDatatype |
DatatypeSystemDefault._NUMERIC |
static SqlDatatype |
DatatypeSystemDefault._POSITIVE_INTEGER |
static SqlDatatype |
DatatypeSystemDefault._SHORT |
static SqlDatatype |
DatatypeSystemDefault._STRING |
static SqlDatatype |
DatatypeSystemDefault._UNSIGNED_BYTE |
static SqlDatatype |
DatatypeSystemDefault._UNSIGNED_INT |
static SqlDatatype |
DatatypeSystemDefault._UNSIGNED_LONG |
static SqlDatatype |
DatatypeSystemDefault._UNSIGNED_SHORT |
| Modifier and Type | Field and Description |
|---|---|
static org.aksw.commons.collections.multimaps.IBiSetMultimap<SqlDatatype,SqlDatatype> |
DatatypeSystemDefault.childToParent |
static org.aksw.commons.collections.multimaps.IBiSetMultimap<SqlDatatype,SqlDatatype> |
DatatypeSystemDefault.childToParent |
| Modifier and Type | Method and Description |
|---|---|
static SqlDatatype |
DatatypeSystemDefault.dt(String name) |
static SqlDatatype |
DatatypeSystemDefault.dt(String name,
com.hp.hpl.jena.rdf.model.Resource resource) |
static SqlDatatype |
DatatypeSystemDefault.dt(String name,
com.hp.hpl.jena.rdf.model.Resource resource,
Class<?> clazz) |
SqlDatatype |
SqlDatatype.getBaseType()
If this datatype is a restriction, it will return the base
datatype for the restriction, null otherwise.
|
SqlDatatype |
DatatypeSystemDefault.getByClass(Class<?> clazz) |
SqlDatatype |
DatatypeSystemOld.getByClass(Class<?> clazz) |
SqlDatatype |
DatatypeSystemDefault.getByName(String name) |
SqlDatatype |
DatatypeSystemOld.getByName(String name) |
SqlDatatype |
DatatypeSystemDefault.getDatatype(String name) |
SqlDatatype |
TypeMapperImpl.mapType(String typeName) |
SqlDatatype |
SqlTypeMapper.mapType(String typeName) |
SqlDatatype |
DatatypeSystemDefault.mostGenericDatatype(SqlDatatype from,
SqlDatatype to) |
SqlDatatype |
DatatypeSystemOld.mostGenericDatatype(SqlDatatype from,
SqlDatatype to)
Returns the top-most node of the tree of compatible datatypes
Hm, how to justify not returning object?
so integer and string -> numeric
string -> text
The rationale is, that all numeric types have similar semantics in regard
to comparison and arithmetic operations.
|
SqlDatatype |
DatatypeSystemDefault.requireByName(String name) |
SqlDatatype |
DatatypeSystemOld.requireByName(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SqlDatatype> |
RdfView.getColumnToDatatype() |
static List<SqlDatatype> |
DatatypeSystemDefault.getDefaultDatatypes() |
Set<SqlDatatype> |
DatatypeSystemDefault.supremumDatatypes(SqlDatatype a,
SqlDatatype b) |
Set<SqlDatatype> |
DatatypeSystemOld.supremumDatatypes(SqlDatatype from,
SqlDatatype to) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DatatypeSystemDefault.cast(Object value,
SqlDatatype to) |
Object |
DatatypeSystemOld.cast(Object value,
SqlDatatype target) |
Factory1<SqlExpr> |
DatatypeSystemDefault.cast(SqlDatatype from,
SqlDatatype to) |
Factory1<SqlExpr> |
DatatypeSystemOld.cast(SqlDatatype from,
SqlDatatype to)
Return a factory for creating cast-expressions between the given datatypes
Null if no such cast exists.
|
Integer |
DatatypeSystemDefault.compare(SqlDatatype a,
SqlDatatype b) |
Integer |
DatatypeSystemOld.compare(SqlDatatype a,
SqlDatatype b)
Returns -1, 0, 1 if a is more specific, equal, more general the b.
|
SqlDatatype |
DatatypeSystemDefault.mostGenericDatatype(SqlDatatype from,
SqlDatatype to) |
SqlDatatype |
DatatypeSystemOld.mostGenericDatatype(SqlDatatype from,
SqlDatatype to)
Returns the top-most node of the tree of compatible datatypes
Hm, how to justify not returning object?
so integer and string -> numeric
string -> text
The rationale is, that all numeric types have similar semantics in regard
to comparison and arithmetic operations.
|
void |
DatatypeSystemDefault.registerDatatype(String name,
SqlDatatype datatype) |
Set<SqlDatatype> |
DatatypeSystemDefault.supremumDatatypes(SqlDatatype a,
SqlDatatype b) |
Set<SqlDatatype> |
DatatypeSystemOld.supremumDatatypes(SqlDatatype from,
SqlDatatype to) |
| Modifier and Type | Method and Description |
|---|---|
static SqlDatatype |
RdfViewDatabase.asDatatype(String id) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,SqlDatatype> |
RdfViewDatabase.getTypes(Connection conn,
String queryStr) |
static Map<String,SqlDatatype> |
RdfViewDatabase.transformRawMap(Map<String,String> map) |
Copyright © 2014. All rights reserved.