text
stringlengths
3
1.18M
/* * (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 ; /** For testing only */ public class Obje...
/* * (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.io.IOException ; import java.nio.ByteBuffer ; import java.util.Iterator ; import org.openjena.atlas.lib.Bytes ; import org.open...
/* * (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.ArrayList; import java.util.Iterator ; import java.util.List; import org.openjena.atlas.iterat...
/* * (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 org.openjena.atlas.lib.Bytes ; import com.hp.hpl.jena.tdb.lib.StringAbbrev ; /** Wrap a {@link Obj...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.io.File; import com.hp.hpl.jena.tdb.TDBException; import com.hp.hpl.jena.tdb.base.file.FileSet ; import com.hp.hpl.jena.tdb.sys...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; /** Base class to support writing stacks of BlockMgrs */ public class BlockMgrSync implements BlockMgr { ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import com.hp.hpl.jena.sparql.util.IndentedWriter; import com.hp.hpl.jena.sparql.util.Named; import com.hp.hpl.jena.sparql.util.Printable; import c...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import com.hp.hpl.jena.tdb.base.file.FileException; public class BlockException extends FileException { public BlockException() ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; /** Base class to support writing stacks of BlockMgrs */ public class BlockMgrWrapper implements BlockMgr { ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; import com.hp.hpl.jena.tdb.base.page.PageBase; /** Engine that wraps from blocks to typed (in-memory) representation...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; import java.util.Iterator; import org.openjena.atlas.lib.ActionKeyValue ; import org.openjena.atlas.lib.Cache...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; import org.slf4j.Logger; public abstract class BlockMgrBase implements BlockMgr { protected final int bl...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import static java.lang.String.format; import java.io.IOException; import java.nio.ByteBuffer; import org.slf4j.Logger; import org.slf4j...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; import java.util.Iterator; import java.util.WeakHashMap ; import org.slf4j.Logger; import org.slf4j.LoggerFact...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; public enum FileMode { /** Use memory mapped files */ mapped, /** Use in-JVM caching */ direct ; } /* * (c) Copyright 2008,...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import static java.lang.String.format; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.MappedByteBuffer; import ja...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import static java.lang.String.format; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio....
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import java.nio.ByteBuffer; import com.hp.hpl.jena.sparql.core.Closeable; import com.hp.hpl.jena.tdb.lib.Sync; import com.hp.hpl.jena.tdb...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.block; import static java.lang.String.format; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.Sta...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.recordfile; import static com.hp.hpl.jena.tdb.base.recordfile.RecordBufferPage.* ; import java.nio.ByteBuffer; import com.hp.hpl.jena.tdb.base.block.Bloc...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.recordfile; import java.nio.ByteBuffer; import org.openjena.atlas.io.IndentedWriter ; import com.hp.hpl.jena.tdb.base.buffer.RecordBuffer; import ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.recordfile; import java.nio.ByteBuffer; import org.openjena.atlas.io.IndentedWriter ; import com.hp.hpl.jena.tdb.base.buffer.RecordBuffer; import ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.recordfile; import static org.openjena.atlas.lib.Lib.decodeIndex ; import java.util.Iterator; import java.util.NoSuchElementException; import com.hp.h...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base.recordfile; import java.nio.ByteBuffer; import com.hp.hpl.jena.tdb.base.page.Page; import com.hp.hpl.jena.tdb.base.record.RecordFactory; import com.hp.h...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.base; public class StorageException extends RuntimeException { public StorageException() { super() ; } public StorageExc...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator; import com.hp.hpl.jena.sparql.core.Closeable; import com.hp.hpl.jena.tdb.base.record.Record; import com.hp.hpl.jena.tdb.b...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import com.hp.hpl.jena.tdb.base.file.FileSet; import com.hp.hpl.jena.tdb.base.record.RecordFactory; public interface IndexFactory { // The impl...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import static com.hp.hpl.jena.tdb.sys.SystemTDB.SizeOfNodeId; import static java.lang.String.format; import java.util.Iterator; import org.openjena....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import com.hp.hpl.jena.tdb.TDBException ; import com.hp.hpl.jena.tdb.base.file.FileSet ; import com.hp.hpl.jena.tdb.base.file.Location ; import com.hp.h...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.mem; import java.util.Collection; import java.util.Map; import java.util.Set; import org.openjena.atlas.lib.DS ; public final class Inde...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.mem; import java.util.Iterator; import java.util.List; import java.util.Map; import org.openjena.atlas.iterator.IteratorConcat ; import org.op...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.mem; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.openjena.atlas.iterator.IteratorConcat ; import ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.mem; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.openjena.atlas.iterator.IteratorConcat ; import org.ope...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.mem; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.openjena.atlas.iterator.IteratorConcat ; import org.ope...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator; import com.hp.hpl.jena.tdb.base.record.Record; public interface RangeIndex extends Index { /** Return records betw...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator; import org.openjena.atlas.lib.Tuple ; import com.hp.hpl.jena.sparql.core.Closeable; import com.hp.hpl.jena.tdb.lib....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import com.hp.hpl.jena.tdb.sys.SystemTDB; public enum IndexType { BTree { @Override public String getName() { return "BTree" ; } } , BP...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import java.util.Iterator; import java.util.NoSuchElementException; import org.openjena.atlas.iterator.Iter ; import com.hp.hpl.jena...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import static com.hp.hpl.jena.tdb.index.btree.BTreeParams.CheckingBTree; import static com.hp.hpl.jena.tdb.index.btree.BTreeParams.CheckingNod...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import static com.hp.hpl.jena.tdb.base.record.Record.compareByKey; import static com.hp.hpl.jena.tdb.base.record.Record.keyGE; import static ...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import static com.hp.hpl.jena.tdb.base.block.BlockType.BTREE_NODE; import static com.hp.hpl.jena.tdb.base.block.BlockType.RECORD_BLOCK; imp...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import com.hp.hpl.jena.tdb.TDBException; public class BTreeException extends TDBException { public BTreeException() {} public BTr...
/* * (c) Copyright 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.btree; import static com.hp.hpl.jena.tdb.sys.SystemTDB.*; import com.hp.hpl.jena.tdb.base.record.RecordFactory; /** Configuration for a BTree ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import static java.lang.String.format ; import java.util.Iterator ; import org.openjena.atlas.lib.Tuple ; import org.slf4j.Logger ; import org.slf4...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator; import org.openjena.atlas.iterator.NullIterator ; import org.openjena.atlas.iterator.SingletonIterator ; import org.openj...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.factories; import com.hp.hpl.jena.tdb.base.block.BlockMgr; import com.hp.hpl.jena.tdb.base.block.BlockMgrFactory; import com.hp.hpl.jena.tdb.base.file.Fil...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.factories; import com.hp.hpl.jena.tdb.base.file.FileSet; import com.hp.hpl.jena.tdb.base.record.RecordFactory; import com.hp.hpl.jena.tdb.index.Index; im...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.factories; import com.hp.hpl.jena.tdb.base.block.BlockMgr ; import com.hp.hpl.jena.tdb.base.file.FileSet ; import com.hp.hpl.jena.tdb.base.record.RecordFa...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.factories; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hp.hpl.jena.tdb.TDBException; import com.hp.hpl.jena.tdb.base.block.Bloc...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.ext; import com.hp.hpl.jena.tdb.base.record.RecordFactory; import com.hp.hpl.jena.tdb.base.recordfile.RecordBufferPageBase; public class ExtHashParams ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.ext; import static com.hp.hpl.jena.tdb.base.recordfile.RecordBufferPageBase.COUNT; import static com.hp.hpl.jena.tdb.base.recordfile.RecordBufferPageBase.N...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.ext; import static java.lang.String.format; import java.nio.IntBuffer; import java.util.HashSet; import java.util.Iterator; import java.util.Set; ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.ext; import java.util.HashSet; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; import com.hp.hpl.jena.tdb.ba...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.ext; import static org.openjena.atlas.lib.Lib.decodeIndex ; import java.nio.ByteBuffer; import com.hp.hpl.jena.tdb.base.StorageException; import com....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator; import org.openjena.atlas.lib.Tuple ; import com.hp.hpl.jena.tdb.store.NodeId; public class IndexLib { // @Dep...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index; import java.util.Iterator ; import org.openjena.atlas.lib.ColumnMap ; import org.openjena.atlas.lib.Tuple ; import com.hp.hpl.jena.tdb.TDBException ; 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.index; import com.hp.hpl.jena.tdb.base.file.FileSet; import com.hp.hpl.jena.tdb.base.record.RecordFactory; public interface IndexRangeFactory { public...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import com.hp.hpl.jena.tdb.base.block.BlockMgr; import com.hp.hpl.jena.tdb.base.page.Page; import com.hp.hpl.jena.tdb.base.record.Record; /*...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import static com.hp.hpl.jena.tdb.index.bplustree.BPlusTreeParams.CheckingNode; import static com.hp.hpl.jena.tdb.index.bplustree.BPlusTreeParam...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import static com.hp.hpl.jena.tdb.base.block.BlockType.BPTREE_BRANCH ; import static com.hp.hpl.jena.tdb.base.block.BlockType.BPTREE_LEAF ; imp...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import static com.hp.hpl.jena.tdb.base.record.Record.keyGT; import static com.hp.hpl.jena.tdb.base.record.Record.keyLT; import static com.hp.hp...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import com.hp.hpl.jena.tdb.sys.Session ; abstract class BPTreePageMgr implements Session { // This a "missing" class // BPTreeRecordMgr works on a RecordB...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import static com.hp.hpl.jena.tdb.index.bplustree.BPlusTreeParams.CheckingNode; import static java.lang.String.format; import static org.openje...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import com.hp.hpl.jena.tdb.TDBException; public class BPTreeException extends TDBException { public BPTreeException() {} public BPT...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import com.hp.hpl.jena.tdb.base.block.BlockMgr ; import com.hp.hpl.jena.tdb.base.recordfile.RecordBufferPage ; import com.hp.hpl.jena.tdb.base....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.index.bplustree; import static com.hp.hpl.jena.tdb.sys.SystemTDB.SizeOfPointer; import org.slf4j.Logger; import com.hp.hpl.jena.sparql.util.ALog; import com....
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import com.hp.hpl.jena.rdf.model.Property; import com.hp.hpl.jena.rdf.model.Resource; import com.hp.hpl.jena.rdf.model.ResourceFactory; public cla...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.getAsStringValue; import static com.hp.hpl.jena.tdb.assembler.VocabTDB.pNodeIndex; impor...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.exactlyOneProperty; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.getAsStringV...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.*; import static com.hp.hpl.jena.tdb.assembler.VocabTDB.*; import org.openjena.atlas.loggi...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.getAsStringValue ; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.getResourceValue ; ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.exactlyOneProperty; import static com.hp.hpl.jena.sparql.util.graph.GraphUtils.getStringVal...
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; import com.hp.hpl.jena.assembler.Assembler; import com.hp.hpl.jena.assembler.assemblers.AssemblerGroup; import com.hp.hpl.jena.rdf.mode...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.assembler; public class AssemblerTDB { public static void init() { VocabTDB.init(); //tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . //tdb:GraphT...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.modify; import com.hp.hpl.jena.sparql.engine.binding.Binding; import com.hp.hpl.jena.sparql.modify.UpdateProcessorFactory; import com.hp.hpl.jena.sparql.modify.Update...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Iterator ; import org.openjena.atlas.iterator.NullIterator ; import org.openjena.atlas.iterator.Transform ; import org.openjena.atl...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.HashSet ; import java.util.Set ; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl.jena.sparql.ARQException ; import com.hp.hpl.jena.sparql.algebra.Op ...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.io.File ; import java.io.IOException ; import java.io.InputStream ; import java.util.Date ; import java.util.List ; import org.openjena.atlas.io.IO ; import o...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.math.BigDecimal; import java.nio.ByteBuffer; import org.openjena.atlas.lib.BitsLong ; import org.openjena.atlas.lib.Bytes ; import co...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Date ; import org.openjena.atlas.lib.Sink ; import com.hp.hpl.jena.sparql.util.StringUtils ; import com.hp.hpl.jena.sparql.util.Timer ; public class ...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import org.openjena.atlas.lib.Tuple ; import com.hp.hpl.jena.graph.Graph; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; i...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import com.hp.hpl.jena.datatypes.xsd.XSDDatatype; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import static com.hp.hpl.jena.sparql.core.Quad.isDefaultGraph; import static com.hp.hpl.jena.sparql.core.Quad.isQuadUnionGraph; import java.util.Iterat...
/* * (c) Copyright 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import org.openjena.atlas.lib.BitsLong ; public class IntegerNode { public static long pack(long v) { // 56 bits of value, including sign...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.io.FileOutputStream ; import java.io.IOException ; import java.io.InputStream ; import java.util.ArrayList ; import java.util.Date ; impor...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; //ANDROID: removed dependency over datatype api //import javax.xml.datatype.DatatypeConfigurationException; //import javax.xml.datatype.DatatypeConstants...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import static com.hp.hpl.jena.sparql.core.Quad.isQuadUnionGraph ; import java.util.ConcurrentModificationException ; import java.util.Iterator ; imp...
/* * (c) Copyright 2008, 2009 Hewlett-P;ackard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.HashMap ; import java.util.HashSet ; import java.util.Iterator ; import java.util.Map ; import java.util.Set ; import org.openjena...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Iterator; import java.util.Properties; import org.openjena.atlas.iterator.Iter ; import org.openjena.atlas.iterator.Transform ; im...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Iterator ; import org.openjena.atlas.iterator.NullIterator ; import org.openjena.atlas.iterator.Transform ; import org.openjena.atl...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Arrays; import org.openjena.atlas.lib.Bytes ; /** Hash values. */ public class Hash { byte [] bytes ; public Hash(int...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.util.Iterator; import org.openjena.atlas.lib.Tuple ; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hp.hpl.jena.gr...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.store; import java.math.BigDecimal; import java.math.BigInteger; import org.openjena.atlas.lib.BitsLong ; public class DecimalNode { //private st...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver; import org.openjena.atlas.iterator.Filter ; import org.openjena.atlas.lib.Tuple ; import org.openjena.atlas.logging.Log ; import org.slf4j.Logger ; im...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver; import java.util.Iterator; import java.util.List; import org.openjena.atlas.iterator.Filter ; import org.openjena.atlas.iterator.Iter ; import org...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver.stats; import static com.hp.hpl.jena.sparql.sse.Item.addPair; import static com.hp.hpl.jena.sparql.sse.Item.createTagged; import java.util.HashMap; im...
/* * (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver.stats; import static com.hp.hpl.jena.tdb.solver.reorder.PatternElements.*; import java.io.PrintStream; import java.util.ArrayList; import java.util.Ha...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver.stats; import java.util.HashMap ; import java.util.Map ; import org.openjena.atlas.lib.MapUtils ; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl.jena.sparql.sse....
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver.stats; import org.openjena.atlas.lib.Sink ; import com.hp.hpl.jena.graph.Triple ; import com.hp.hpl.jena.sparql.core.Quad ; public class SinkStatsTriples extends SinkStats...
/* * (c) Copyright 2010 Talis Information Ltd. * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.tdb.solver.stats; import org.openjena.atlas.lib.Sink ; import com.hp.hpl.jena.sparql.core.Quad ; public class SinkStatsQuads extends SinkStatsBase implements Sink<Quad> { public...