public final class RDFStreams extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
BYTE_PER_STATEMENT |
static RDFStream |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static long |
estimatedCount(Iterable<RDFStream> theStreams) |
static RDFStreamBuilder |
forFile(Path theFile) |
static RDFStreamBuilder |
forFiles(Collection<Path> theFiles) |
static RDFStreamBuilder |
forFiles(Path... theFiles) |
static String |
formatParseException(RDFStream theStream,
Exception theError) |
static RDFStream |
forStatements(Iterable<Statement> theStatements,
Resource theContext) |
static RDFStream |
forStatements(Iterator<Statement> theStatements,
Resource theContext) |
static RDFStreamBuilder |
forStream(InputStream theStream) |
static boolean |
hasContext(Iterable<RDFStream> theStreams) |
static long |
length(Iterable<RDFStream> theStreams) |
static Set<Statement> |
parse(List<RDFStream> theStreams) |
static void |
parse(List<RDFStream> theStreams,
com.stardog.stark.io.RDFHandler theHandler) |
public static long BYTE_PER_STATEMENT
public static final RDFStream EMPTY
public static RDFStreamBuilder forFile(Path theFile)
public static RDFStreamBuilder forFiles(Path... theFiles)
public static RDFStreamBuilder forFiles(Collection<Path> theFiles)
public static RDFStreamBuilder forStream(InputStream theStream)
public static RDFStream forStatements(Iterable<Statement> theStatements, Resource theContext)
public static RDFStream forStatements(Iterator<Statement> theStatements, Resource theContext)
public static String formatParseException(RDFStream theStream, Exception theError)
public static void parse(List<RDFStream> theStreams, com.stardog.stark.io.RDFHandler theHandler) throws com.stardog.stark.io.InvalidRDF, IOException
com.stardog.stark.io.InvalidRDFIOExceptionpublic static Set<Statement> parse(List<RDFStream> theStreams) throws com.stardog.stark.io.InvalidRDF, IOException
com.stardog.stark.io.InvalidRDFIOExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.