text stringlengths 3 1.18M |
|---|
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import java.io.File ;
public class FileOps
{
private FileOps() {}
/** Delete a file
*
* @param filename
*/
public ... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import java.util.Map;
/** Map specific functions */
public class MapUtils
{
private MapUtils() {}
public static <K, V> void apply(M... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import java.security.SecureRandom;
import java.util.Random;
public class RandomLib
{
private RandomLib() {}
// The only.
publi... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
public class Problem extends RuntimeException
{
public Problem(String msg) { super(msg) ; }
public Problem(String msg, Throwable th) { super(msg, th) ; }... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import java.util.Iterator;
/** A cache */
public interface Cache<Key, Value>
{
/** Does the cache contain the key? */
public boolean containsKe... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.CharBuffer;
import java.nio.char... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
public class InternalErrorException extends RuntimeException
{
public InternalErrorException() { super() ; }
public Interna... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.openjena.atlas.lib;
import com.hp.hpl.jena.shared.JenaException;
public class AtlasException extends JenaException
{
public AtlasException() { super()... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.InputStream ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.graph.Triple ;
import com.hp.hpl.jena.riot.lang.LangNQuads ;
import com.hp.hpl.jena.... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
/**
* An Error handler captures the policy for dealing with warnings, errors and
* fatal errors. Fatal errors mean termination of processing and must throw a
* ... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* (c) Copyright 2010 Talis Information Ltd
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.util.Map ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.graph.Triple ;
import com.hp.... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.graph.Triple ;
import com.hp.hpl.jena.rdf.model.Model ;
... |
/*
* (c) Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.FileReader ;
import java.io.InputStream ;
import java.io.InputStreamReader ;
import java.io.Reader ;
import java.net.URL ;
... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
public class ParseException extends RiotException
{
public ParseException(String msg, long line, long column)
{
super(RIOT.fmtMessage(msg,li... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.slf4j.Logger ;
public class ErrorHandlerLib
{
static public final Logger stdLogger = RIOT.getLogger() ;
static public final ErrorHandler errorHandlerStd... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import static com.hp.hpl.jena.riot.RIOT.fmtMessage ;
import org.slf4j.Logger ;
/** An error handler that logs messages only for errors and warnings */
public class ErrorHandlerW... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.slf4j.Logger;
import static com.hp.hpl.jena.riot.RIOT.fmtMessage ;
/** An error handler that logs for errors and warnings. */
public class ErrorHandl... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.openjena.atlas.event.EventType ;
import org.slf4j.Logger ;
import org.slf4j.LoggerFactory ;
public class RIOT
{
public static final EventType st... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import static com.hp.hpl.jena.riot.WebContent.* ;
import java.io.IOException ;
import java.io.InputStream ;
import java.net.HttpURLConnection ;
import java.net.... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.IOException ;
import java.io.OutputStreamWriter ;
import java.io.PrintStream ;
import java.io.UnsupportedEncodingException ;
import java.io.Writer ;
import java.ut... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import com.hp.hpl.jena.graph.Graph;
import com.hp.hpl.jena.graph.Triple;
public class SinkToGraphTriples extends SinkToGraph
{
public SinkToGraphTrip... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import org.openjena.atlas.lib.Sink ;
import org.slf4j.Logger ;
import com.hp.hpl.jena.graph.Triple ;
import com.hp.hpl.jena.tdb.lib.NodeFmtLib ;
public c... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static com.hp.hpl.jena.riot.tokens.TokenType.DOT ;
import static com.hp.hpl.jena.riot.tokens.TokenType.RBRACE ;
import org.openjena.atlas.lib.Sink ;
... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static com.hp.hpl.jena.sparql.util.Utils.equal ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.graph.Node ;
import com.hp.hpl.jena.riot.Checker ;
import ... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import com.hp.hpl.jena.riot.Checker;
public interface LangRIOT
{
public Checker getChecker() ;
public void setChecker(Checker ... |
/*
* (c) Copyright 2010 Talis Information Ltd
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static java.lang.String.format ;
import java.util.HashMap ;
import java.util.Map ;
import com.hp.hpl.jena.graph.Node ;
import com.hp.hpl.jena.rdf.model.AnonId ;
/*... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import org.openjena.atlas.lib.Sink ;
import org.slf4j.Logger ;
import org.slf4j.LoggerFactory ;
import com.hp.hpl.jena.graph.Node ;
import com.hp.hpl.jena.graph.Triple ;
i... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import java.util.Iterator ;
import org.openjena.atlas.lib.Sink ;
import org.slf4j.Logger ;
import org.slf4j.LoggerFactory ;
import com.hp.hpl.jena.graph.... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import org.openjena.atlas.event.Event ;
import org.openjena.atlas.event.EventListener ;
import org.openjena.atlas.event.EventManager ;
import org.openjena.atl... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static com.hp.hpl.jena.riot.tokens.TokenType.* ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.datatypes.RDFDatatype ;
import com.hp.hp... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static com.hp.hpl.jena.riot.tokens.TokenType.EOF ;
import static com.hp.hpl.jena.riot.tokens.TokenType.NODE ;
import org.openjena.atlas.event.Event ;
i... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.lang;
import static com.hp.hpl.jena.riot.tokens.TokenType.DOT ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.graph.Node ;
import com.hp.hpl.jena.gr... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.openjena.atlas.lib.Pair ;
import com.h... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import static com.hp.hpl.jena.riot.ErrorHandlerLib.errorHandlerStd ;
import java.util.Iterator ;
import org.openjena.atlas.lib.Cache ;
import org.openjena.atla... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
public class WebContent
{
// Names for things.
public static final String contentTypeN3 = "text/rdf+n3" ;
public static final String contentTypeN3... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.Writer;
import java.util.Iterator;
import com.hp.hpl.jena.graph.Graph;
import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.graph.Triple;
i... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
public class RiotChars
{
/** End of file - not a Unicode codepoint */
public static final int EOF = -1 ;
/** undefined character (ex... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.slf4j.Logger ;
import static com.hp.hpl.jena.riot.RIOT.fmtMessage ;
/** An error handler that logs message for errors and warnings and throw exceptions... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
public class RiotException extends RuntimeException
{
public RiotException() { super() ; }
public RiotException(String msg) ... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.util.Map;
import java.util.Map.Entry;
import com.hp.hpl.jena.shared.PrefixMapping;
public class Prologue
{
protected boolean se... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import static com.hp.hpl.jena.riot.WebContent.* ;
import com.hp.hpl.jena.util.FileUtils ;
public enum Lang
{
RDFXML("RDF/XML", true) ,
NTRIPLES("N-Triples", true) ,
... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.openjena.atlas.logging.Log ;
import com.hp.hpl.jena.iri.IRI;
// UNUSED
/** Extend a PrefixMap - never alters the partent PrefixMap */
public class ... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import org.slf4j.Logger ;
import static com.hp.hpl.jena.riot.RIOT.fmtMessage ;
/** An error handler that logs message then throws exceptions for errors but not warnings */
publi... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
public class WebReader
{
}
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* Derived from TokenizerText : Copyright Hewlett-Packard Development Company, LP
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import static com.hp.hpl.jena.riot.RiotChars.*;
import java.io.IOException ;
import ja... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
/** Various algorithms */
public class TokenCheckerLib
{
public boolean checkPrefixedName_CURIE()
{
return false ;
}
public bo... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
public class TokenizerWrapper implements Tokenizer
{
private final Tokenizer other ;
public TokenizerWrapper(Tokenizer other)
{
th... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** Print a logging message on every token */
public class PrintTokenizer extends TokenizerWrappe... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
public interface TokenChecker
{
public void checkBlankNode(String blankNodeLabel) ;
public void checkLiteralLang(String lexicalForm, String langTag)... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
/** Do nothing checker */
public class TokenCheckerBase implements TokenChecker
{
//@Override
public void checkBlankNode(String blankNodeLabel)
... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import java.io.InputStream ;
import java.io.Reader ;
import org.openjena.atlas.io.PeekInputStream ;
import org.openjena.atlas.io.PeekReader ;
public class TokenizerFa... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
public enum TokenType
{
NODE,
IRI,
PREFIXED_NAME,
BNODE,
//BOOLEAN,
// One kind of string?
STRING, // Tokne ... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import static com.hp.hpl.jena.riot.RiotChars.CH_COMMA ;
import static com.hp.hpl.jena.riot.RiotChars.CH_DOT ;
import static com.hp.hpl.jena.riot.RiotChars.CH... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import java.util.Iterator;
import org.openjena.atlas.lib.Closeable ;
public interface Tokenizer extends Iterator<Token>, Closeable
{
/** Is there... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot.tokens;
import static com.hp.hpl.jena.riot.RiotChars.*;
import java.io.IOException ;
import java.util.NoSuchElementException;
import org.openjena.atlas.... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.util.Iterator;
import org.openjena.atlas.lib.Cache ;
import org.openjena.atlas.lib.CacheFactory ;
import org.openjena.atlas.lib.cache.Getter ;
i... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.InputStream ;
import org.openjena.atlas.io.IO ;
import org.openjena.atlas.lib.Sink ;
import com.hp.hpl.jena.riot.lang.LangRIOT ;
import com.hp.hpl.jena.sparql... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.riot;
import java.io.OutputStream;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
import org.openjena.atlas.io.BufferingWriter ;
import org.o... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb;
import com.hp.hpl.jena.shared.JenaException;
public class TDBException extends JenaException
{
public TDBException() { super() ... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import com.hp.hpl.jena.graph.Graph;
import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.sparql.modify.GraphStoreEvents;
import com.hp.hp... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import com.hp.hpl.jena.util.iterator.ExtendedIterator;
import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.graph.query.QueryHandler;
import com.... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import java.util.Map;
import java.util.Map.Entry;
import com.hp.hpl.jena.shared.PrefixMapping;
import com.hp.hpl.jena.shared.impl.PrefixMappingImpl;
import... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import java.util.Iterator;
import org.openjena.atlas.lib.Tuple ;
import com.hp.hpl.jena.graph.BulkUpdateHandler;
import com.hp.hpl.jena.graph.GraphEve... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import com.hp.hpl.jena.sparql.util.graph.GraphListenerCounter;
import com.hp.hpl.jena.tdb.lib.Sync;
/** Calls sync every tickCount additions ... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.graph;
import com.hp.hpl.jena.graph.impl.TransactionHandlerBase;
import com.hp.hpl.jena.tdb.store.GraphTDB;
/** TDB does not support ACID transactions - it ... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
import com.hp.hpl.jena.tdb.base.file.Location ;
import com.hp.hpl.jena.tdb.store.DatasetGraphTDB ;
/** Always in-memory */
public class DatasetGraphSetupMem i... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
import com.hp.hpl.jena.tdb.base.file.Location ;
import com.hp.hpl.jena.tdb.store.DatasetGraphTDB ;
public class DatasetGraphSetup implements DatasetGraphMakerT... |
package com.hp.hpl.jena.tdb.sys;
import com.hp.hpl.jena.tdb.base.file.Location;
import com.hp.hpl.jena.tdb.store.DatasetGraphTDB;
/** Interface to maker of the actual implementations of TDB graphs and datasets */
public interface DatasetGraphMakerTDB
{
/** Create an in-memory dataset */
public Data... |
/*
* (c) Copyright 2010 Talis Information Ltd.
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
import java.util.Properties ;
import java.util.Set ;
import com.hp.hpl.jena.sparql.util.Context ;
import com.hp.hpl.jena.sparql.util.Symbol ;
import com.hp.hpl.jena.tdb.TDB ;... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
/** Names of things in TDB */
public class Names
{
public static final String primaryIndexTriples = "SPO" ;
public static final String[] tr... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
import com.hp.hpl.jena.graph.Graph;
import com.hp.hpl.jena.tdb.base.file.Location;
import com.hp.hpl.jena.tdb.store.DatasetGraphTDB;
/** The workhorse for... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys ;
import static com.hp.hpl.jena.tdb.TDB.logExec ;
import static com.hp.hpl.jena.tdb.TDB.logInfo ;
import static com.hp.hpl.jena.tdb.sys.SystemTDB.BlockReadCacheSi... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
import java.io.FileNotFoundException ;
import java.io.IOException ;
import java.nio.ByteOrder ;
import java.util.Properties ;
import org.openjena.atlas... |
/*
* (c) Copyright 2009 Talis Information Ltd
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.sys;
/** A Session is a set of operations that are either all read actions
* or a mixture of read and write (an update).
*
* Most implementations of this interface do not enfor... |
package com.hp.hpl.jena.tdb.sys;
import java.util.HashMap ;
import java.util.Map ;
import org.slf4j.Logger ;
import org.slf4j.LoggerFactory ;
import com.hp.hpl.jena.tdb.base.file.Location ;
import com.hp.hpl.jena.tdb.store.DatasetGraphTDB ;
/** An ImplFactory that creates datasets in the usual way for TD... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb;
import com.hp.hpl.jena.graph.Graph;
import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.query.Dataset;
import com.hp.hpl.jena.rdf.model.Model;
impo... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.migrate;
import com.hp.hpl.jena.graph.* ;
import com.hp.hpl.jena.graph.impl.AllCapabilities ;
import com.hp.hpl.jena.graph.impl.GraphBase ;
import com.hp.hpl.j... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.migrate;
import java.util.Map;
import java.util.Set;
import com.hp.hpl.jena.shared.PrefixMapping;
import com.hp.hpl.jena.sparql.core.Closeable;
import com.hp.hpl.... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.migrate;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import org.openjena.atlas.iterator.Filter... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP}
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb;
import java.util.Iterator ;
import org.slf4j.Logger ;
import org.slf4j.LoggerFactory ;
import com.hp.hpl.jena.graph.Graph ;
import com.hp.hpl.jena.graph... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.buffer;
import static java.lang.String.format;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import com.hp.hpl.jena.tdb.base.record.Rec... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.buffer;
import static java.lang.String.format;
import static org.openjena.atlas.lib.Lib.encodeIndex ;
import java.nio.ByteBuffer;
import java.util... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.buffer;
public class BufferException extends RuntimeException
{
public BufferException() { super() ; }
public BufferExc... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.buffer;
import static org.openjena.atlas.lib.Lib.decodeIndex ;
import java.util.Iterator;
import java.util.NoSuchElementException;
import com.hp.hpl.j... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.buffer;
import static com.hp.hpl.jena.tdb.sys.SystemTDB.NetworkOrder;
import static com.hp.hpl.jena.tdb.sys.SystemTDB.NullOut;
import static java.lan... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import com.hp.hpl.jena.tdb.TDBException;
public class FileException extends TDBException
{
public FileException() ... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.nio.ByteBuffer;
public class PlainFileMem extends PlainFile
{
public PlainFileMem()
{
super() ;
ensure(0)... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import com.hp.hpl.jena.tdb.base.objectfile.ObjectFile;
import com.hp.hpl.jena.tdb.base.objectfile.ObjectFileDiskDirect;
import com.hp.hpl.jena.tdb.ba... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file ;
import java.io.File ;
import org.openjena.atlas.lib.FileOps ;
import org.openjena.atlas.lib.Tuple ;
import org.slf4j.Logger ;
import org.slf4j.LoggerF... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import com.hp.hpl.jena.sparql.core.Closeable;
... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.io.File;
import com.hp.hpl.jena.tdb.sys.Names;
/**
* Wrapper for a file system directory; can create filenames in that dire... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.nio.ByteBuffer;
public abstract class PlainFile
{
protected long filesize = -1 ;
protected ByteBuffer byteBuffer = null ;
... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import org.slf4j.L... |
/*
* (c) Copyright 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.file;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.record;
import static java.lang.String.format ;
import java.nio.ByteBuffer;
/** Record creator */
final
public class RecordFactory
{
private fina... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.record;
import com.hp.hpl.jena.tdb.TDBException;
public class RecordException extends TDBException
{
public RecordException() {}
public R... |
/*
* (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.record;
import static java.lang.String.format;
import java.util.Arrays;
import org.openjena.atlas.lib.Bytes ;
import com.hp.hpl.jena.tdb.sys... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.page;
import java.nio.ByteBuffer;
import org.openjena.atlas.io.Printable ;
/** Abstract of a bytebuffer, a block type, an id and a count */
public... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.page;
import java.nio.ByteBuffer;
/** A page with a byte buffer */
public abstract class PageBase implements Page
{
private int id ;
private f... |
/*
* (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.tdb.base.objectfile;
import java.nio.ByteBuffer ;
import java.util.Iterator ;
import org.openjena.atlas.lib.Pair ;
import com.hp.hpl.jena.sparql.core.Closeab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.