Strabon

changeset 56:bbd7bbc0921e

Forgot those two
author Manos Karpathiotakis <mk@di.uoa.gr>
date Thu Mar 15 18:46:16 2012 +0200 (2012-03-15)
parents 6ac1b8837a6a
children 92512d21b0d7
files evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/stsparql/construct/TransformFunc.java generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBSqlGeoTransform.java
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/stsparql/construct/TransformFunc.java	Thu Mar 15 18:46:16 2012 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +/*
     1.5 + * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
     1.6 + *
     1.7 + * Licensed under the Aduna BSD-style license.
     1.8 + */
     1.9 +package org.openrdf.query.algebra.evaluation.function.spatial.stsparql.construct;
    1.10 +
    1.11 +import java.math.BigDecimal;
    1.12 +import java.math.BigInteger;
    1.13 +
    1.14 +import org.openrdf.model.Literal;
    1.15 +import org.openrdf.model.URI;
    1.16 +import org.openrdf.model.Value;
    1.17 +import org.openrdf.model.ValueFactory;
    1.18 +import org.openrdf.model.datatypes.XMLDatatypeUtil;
    1.19 +import org.openrdf.model.vocabulary.XMLSchema;
    1.20 +import org.openrdf.query.algebra.evaluation.ValueExprEvaluationException;
    1.21 +import org.openrdf.query.algebra.evaluation.function.Function;
    1.22 +import org.openrdf.query.algebra.evaluation.function.spatial.SpatialConstructFunc;
    1.23 +import org.openrdf.query.algebra.evaluation.function.spatial.StrabonPolyhedron;
    1.24 +import org.openrdf.query.algebra.evaluation.util.QueryEvaluationUtil;
    1.25 + 
    1.26 +/**
    1.27 + * A {@link Function} that tries to cast its argument to an <tt>xsd:boolean</tt>.
    1.28 + * 
    1.29 + * @author Arjohn Kampman
    1.30 + */
    1.31 +public class TransformFunc extends SpatialConstructFunc {
    1.32 +
    1.33 +	@Override
    1.34 +	public String getURI() {
    1.35 +		return StrabonPolyhedron.transform;
    1.36 +	}
    1.37 +
    1.38 +	 
    1.39 + 
    1.40 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBSqlGeoTransform.java	Thu Mar 15 18:46:16 2012 +0200
     2.3 @@ -0,0 +1,25 @@
     2.4 +/*
     2.5 + * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     2.6 + *
     2.7 + * Licensed under the Aduna BSD-style license.
     2.8 + */
     2.9 +package org.openrdf.sail.generaldb.algebra;
    2.10 +
    2.11 +  
    2.12 +import org.openrdf.sail.generaldb.algebra.base.GeneralDBQueryModelVisitorBase;
    2.13 +import org.openrdf.sail.generaldb.algebra.base.GeneralDBSqlExpr;
    2.14 +
    2.15 +public class GeneralDBSqlGeoTransform extends GeneralDBSqlSpatialConstructBinary{
    2.16 +
    2.17 +	public GeneralDBSqlGeoTransform(GeneralDBSqlExpr left, GeneralDBSqlExpr right) {
    2.18 +		super(left, right);
    2.19 +	}
    2.20 +
    2.21 +	@Override
    2.22 +	public <X extends Exception> void visit(GeneralDBQueryModelVisitorBase<X> visitor)
    2.23 +		throws X
    2.24 +	{
    2.25 +		visitor.meet(this);
    2.26 +	}
    2.27 +
    2.28 +}
    2.29 \ No newline at end of file