com.hp.hpl.jena.sparql.engine.binding
Class BindingInputStream
java.lang.Object
org.openjena.riot.lang.LangEngine
com.hp.hpl.jena.sparql.engine.binding.BindingInputStream
- All Implemented Interfaces:
- Iterator<Binding>, Closeable
public class BindingInputStream
- extends LangEngine
- implements Iterator<Binding>, Closeable
Language for reading in a stream of bindings.
See BindingIO
Summary:
- Directives:
- VARS - list of variables.
- PREFIX
- Lines of RDF terms (Turtle, no triple-quoted strings)
- Items on line align with last VARS declaration
- * for "same as last row"
- - for "undef"
BindingInputStream
public BindingInputStream(InputStream in)
BindingInputStream
public BindingInputStream(Tokenizer tokenizer)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Binding>
next
public Binding next()
- Specified by:
next
in interface Iterator<Binding>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Binding>
vars
public List<Var> vars()
close
public void close()
- Specified by:
close
in interface Closeable
Licenced under the Apache License, Version 2.0