public class TripleStore extends AbstractHashTable implements Externalizable
Modifier and Type | Class and Description |
---|---|
static class |
TripleStore.TripleKeyComparator |
AbstractHashTable.AbstractIndexTupleList, AbstractHashTable.AbstractObjectComparator, AbstractHashTable.DoubleCompositeIndex, AbstractHashTable.DoubleIndexTupleList, AbstractHashTable.EqualityEquals, AbstractHashTable.FieldIndex, AbstractHashTable.Index, AbstractHashTable.InstanceEquals, AbstractHashTable.ObjectComparator, AbstractHashTable.SingleIndex, AbstractHashTable.SingleIndexTupleList, AbstractHashTable.TripleCompositeIndex, AbstractHashTable.TripleIndexTupleList
Modifier and Type | Field and Description |
---|---|
static String |
PROXY |
static String |
TYPE |
static String |
VALUE |
comparator, loadFactor, PRIME, size, table, threshold
Constructor and Description |
---|
TripleStore() |
TripleStore(Entry[] table) |
TripleStore(float loadFactor,
Entry[] table) |
TripleStore(int capacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Triple triple) |
boolean |
contains(Triple triple) |
Triple |
get(Triple triple) |
Collection<Triple> |
getAll(Triple triple) |
String |
getId() |
int |
getResizeHashcode(Entry entry) |
boolean |
put(Triple triple) |
boolean |
put(Triple triple,
boolean checkExists) |
void |
readExternal(ObjectInput in) |
boolean |
remove(Triple triple) |
int |
removeAll(Triple triple) |
void |
setId(String id) |
void |
writeExternal(ObjectOutput out) |
clear, ensureCapacity, getTable, indexOf, isEmpty, iterator, newIterator, rehash, resize, setComparator, size, toArray, toString
public static final String TYPE
public static final String PROXY
public static final String VALUE
public TripleStore()
public TripleStore(int capacity, float loadFactor)
public TripleStore(Entry[] table)
public TripleStore(float loadFactor, Entry[] table)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractHashTable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractHashTable
IOException
public String getId()
public void setId(String id)
public boolean put(Triple triple)
public boolean add(Triple triple)
public boolean put(Triple triple, boolean checkExists)
public Collection<Triple> getAll(Triple triple)
public int removeAll(Triple triple)
public boolean remove(Triple triple)
public boolean contains(Triple triple)
public int getResizeHashcode(Entry entry)
getResizeHashcode
in class AbstractHashTable
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.