text
stringlengths
3
1.18M
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util.graph; import com.hp.hpl.jena.graph.Graph; import com.hp.hpl.jena.graph.Triple; /** Adds a regular "tick" based on the number of adds or deletes...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util.graph; import com.hp.hpl.jena.graph.Factory ; import com.hp.hpl.jena.graph.Graph ; import com.hp.hpl.jena.query.ARQ ; import com.hp.hpl.jena.rdf.model....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** Manage version information for su...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.Map; import java.util.Iterator; import com.hp.hpl.jena.shared.PrefixMapping; import com.hp.hpl.jena.shared....
/* * (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.net.URLEncoder; import java.net.URLDecoder; import java.io.UnsupportedEncodingException ; /** * @author Andy Seaborne */ ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.*; /** A class for setting and keeping named values. Used to pass * implementation-specific parameters across ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.*; /** Non-destructive versions of set operations. May not be efficient on large sets */ public class SetUtils ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.*; ; /** Maps string to string for use with convenience names. * * @author Andy Seaborne */ public ...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.ArrayList ; import java.util.List ; import com.hp.hpl.jena.datatypes.xsd.XSDDatatype ; import com.hp.hpl.jena.query.Que...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; public interface Named { public String getName() ; } /* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Compan...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.shared.PrefixMapping; import com.hp.hpl.jena.sparql.serializer.SerializationContext; import com.hp.hpl.jena.sp...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.shared.PrefixMapping; /** Simple implementation of PrintSerializable. Subclasses should override * output(...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.core.Var; public class NodeToLabelMapBNode extends NodeToLabelMap { pu...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.io.UnsupportedEncodingException; import java.text.DateFormat; import java.text.DecimalFormat; import java.text.NumberFor...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.Iterator; import com.hp.hpl.jena.datatypes.RDFDatatype; import com.hp.hpl.jena.datatypes.xsd.XSDDatatype; import ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; /** A way to write constants */ public class Symbol { // Need a intern table for symbols?? private final static String ni...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.HashMap; import java.util.Map; import com.hp.hpl.jena.graph.Node; /** Map nodes to nodes. * * @author Andy Seab...
// Base 64 encoder - public domain. // Changes : put in ARQ util package, renamed InputStream/OutputStream to avodi autocomplete issues. // http://iharder.sourceforge.net/current/java/base64/ // With thanks. package com.hp.hpl.jena.sparql.util; /** * <p>Encodes and decodes to and from Base64 notation.</p> ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.io.Reader; import java.io.StringReader; import java.util.List; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.shared.PrefixMapping;...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.*; import com.hp.hpl.jena.sparql.ARQConstants; public class MappedLoader { // Map string => string of prefixes ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.sparql.ARQException ; public class Timer { protected long timeFinish = -1 ; protected boolean inTimer = fa...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; // Hmm - hardly worth it! public abstract class PrintableBase implements Printable { @Override public String toString() { r...
/* (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP All rights reserved - see end of file. $Id: PropertyRequiredException.java,v 1.2 2007/01/02 11:20:04 andy_seaborne Exp $ */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.sha...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.util.cache.Cache; /** A one slot cache */ public class Cache1 implements Cache { boolean isEnabled =...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.query.QueryException; import com.hp.hpl.jena.rdf....
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.datatypes.RDFDatatype ; import com.hp.hpl.jena.datatypes.TypeMapper ; import com.hp.hpl.jena.datatypes.xsd.XSDDatatype ; ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * References: * <ul> * <li><a href="http://en.wikipedia....
/* * (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ /** * Test whether a * @author Andy Seaborne */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.rdf.model.*; public interface ClosureTest { /** Retur...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util ; public interface Callback { public void event(Symbol property) ; } /* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-P...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.query.ARQ; public class RefBoolean { private volatile boolean value ; public final boolean getVa...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.ArrayList ; import java.util.Iterator ; import java.util.List ; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl....
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.sparql.algebra.Algebra; import com.hp.hpl.jena.sparql.algebra.Op; import com.hp.hpl.jena.sparql.core.QueryCheckException; ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.datatypes.BaseDatatype; import com.hp.hpl.jena.datatypes.DatatypeFormatException; import com.hp.hpl.jena.datat...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.util.List; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.RDFNode; import com.hp.hpl.jena.rdf.mo...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import java.math.BigDecimal; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.util; import com.hp.hpl.jena.sparql.ARQConstants; import com.hp.hpl.jena.sparql.ARQInternalErrorException; public class Loader { ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.ArrayList; import java.util.List; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.sparql.ut...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; public class ElementSubQuery extends Element { Que...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.sparql.core.TriplePath; public interface TripleCollector { ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.Collection; import java.util.Map; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; im...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** Evaluate a query element ba...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.Collection; import java.util.Map; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; impo...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.Iterator; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.sparql.core.PathBlock; import com.hp.hpl.jena.sparql.core...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** The syntax element for "Not Exists" in a pattern. * * @author Andy Seaborne */ public...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; /** * * @author Andy Seaborne */ public interface TemplateVisitor { public void visit(TemplateTriple template) ; ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.expr.Expr; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** A constraint (Filter) i...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.*; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.sparql.ARQE...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; /** Element1 - elements that have a single subElement. * * @author Andy Seaborne */ public abstract class Element1 extends Element { // No...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.util.ALog; import com.hp.hpl.jena.sparql.util.NodeIsomorph...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** The syntax element for "Exists" in a pattern. * * @author Andy Seaborne */ public cla...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.*; import com.hp.hpl.jena.sparql.core.Var; import com.hp.hpl.jena.sparql.serializer.FormatterElement; imp...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; /** An element visitor that walks the graph pattern tree, applying a visitor * at each Element traversed. * Only walks one ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; /** A ElementVisitor that does nothing. It saves writing lots of * empty visits when only interested in a few element types. *...
/* * (c) Copyright 2010 Talis Information Ltd * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** An optional element in a query. * * @author Andy Seaborne */ public class ElementMinus extends Element ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.core.Var; import com.hp.hpl.jena.sparql.expr.Expr; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; public cla...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.core.DatasetGraph; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** ElementDataset ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; /** * @author Andy Seaborne */ public interface ElementVisitor { public void visit(ElementTriplesBlock el) ; ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** An optional element in a query. * * @author Andy Seaborne ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.Iterator; import com.hp.hpl.jena.graph.Triple; import com.hp.hpl.jena.sparql.ARQException; import com.h...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** Evaluate a query element ba...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.* ; import com.hp.hpl.jena.sparql.util.NodeIsomorphismMap; /** * * @author Andy Seaborne */ p...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.syntax; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; import com.hp.hpl.jena.graph.Triple; import co...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.function.Function; import com.hp.hpl.jena.sparql.function.FunctionEnv; im...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.NodeFunctions; /** * @author Andy Seaborne */ public class E_Datatype extends ExprFunction1 { priv...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.expr.Expr; im...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import java.util.HashSet; import java.util.Set; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.core.NodeConst; ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.core.NodeConst; import com.hp.hpl.jena.sparql.engine.binding.Binding...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import java.util.HashSet ; import java.util.Set ; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl.jena.sparql.core.NodeConst ;...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.expr.NodeValue; import com.hp.hpl.jena.sparql.funct...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; //-- AggregatorFactory : global factory for Aggregators //-- Aggregator - per query (strictly, one per SELECT level) //-- Accumulator...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.expr.Expr; im...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.expr.Expr; impo...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl.jena.sparql.core.NodeConst ; import com.hp.hpl.jena.sparql.engine.binding.Binding...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.engine.binding.B...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.expr.Expr; impo...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr.aggregate; import java.util.HashMap; import java.util.Map; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.ARQInternalErrorExc...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.function.FunctionEnv; /** A function that has a single argument */...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.function.FunctionEnv; /** * @author Andy Seaborne */ public clas...
/* * (c) Copyright 2010 Talis Information Ltd. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.graph.Node ; /** Create a literal from lexical form and language tag */ public class E_StrLang extends ExprFunction2 { private static final String symbol = "strlang" ;...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.algebra.Op; import com.hp.hpl.jena.sparql.engine.ExecutionContext; import com.hp.hpl.jena.sparql.engine.QueryIterator; im...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; /** Exception for a dynamic evaluation exception. * The current solution is likely to be rejected. * See also QueryFatalExc...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.XSDFuncOp; /** */ public class E_Subtract extends ExprFunction2 { private static final String ...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.NodeFunctions; /** * @author Andy Seaborne */ public class E_LangMatches extends ExprFunction2 { p...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import java.util.regex.* ; import com.hp.hpl.jena.query.QueryParseException; /** * @author Andy Seaborne */ public class RegexJava implement...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Calendar; import com.hp.hpl.jena.datatypes.DatatypeFormatException; impor...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; /** Exception for an undefined expression (including unbound variable) * * @author Andy Seaborne */ public class Variab...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.NodeFunctions; /** * @author Andy Seaborne */ public class E_SameTerm extends ExprFunction2 { private st...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import java.util.Collection; import java.util.HashSet; import java.util.Set; import com.hp.hpl.jena.sparql.algebra.OpVars; import...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import java.util.ArrayList; import java.util.List; import com.hp.hpl.jena.sparql.serializer.SerializationContext; /** A function in the expression ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; /** Exception for a dynamic evaluation exception caused by a type mismatch. * * @author Andy Seaborne */ public class E...
/* * (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; // Walk the expression tree public class ExprVisitorBase implements ExprVisitor { public void startVisit() {} ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.NodeFunctions; /** * @author Andy Seaborne */ public class E_IsURI extends E_IsIRI { // "isU...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.XSDFuncOp; /** * @author Andy Seaborne */ public class E_UnaryMinus extends ExprFunction1 { ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.sparql.ARQInternalErrorException; import com.hp.hpl.jena.sparql.core.Var; import com.h...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; /** * @author Andy Seaborne */ public class E_GreaterThanOrEqual extends ExprFunction2 { private static final String printName = "ge" ; ...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; /** * @author Andy Seaborne */ public class E_GreaterThan extends ExprFunction2 { private static final String printName = "gt" ; privat...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.engine.binding.Binding ; import com.hp.hpl.jena.sparql.expr.nodevalue.XSDFuncOp ; import com.hp.hpl.jena.sparql.function.F...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.query.QueryException; /** The root of all expression exceptions * * @author Andy Seaborne */ pu...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import com.hp.hpl.jena.sparql.expr.nodevalue.XSDFuncOp; /** * @author Andy Seaborne */ public class E_UnaryPlus extends ExprFunction1 { p...
/* * (c) Copyright 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * [See end of file] */ package com.hp.hpl.jena.sparql.expr; import java.util.Collection; import java.util.Set; import com.hp.hpl.jena.sparql.algebra.Op; import com.hp.hpl.jena.sparql.core.Var; import com.hp.h...