Constructor and Description |
---|
SparseKeySchema() |
Modifier and Type | Method and Description |
---|---|
void |
addType(int key,
Class<? extends Key<?>> type) |
boolean |
equals(Object obj) |
int |
getNumTypes() |
Class<? extends Key<?>> |
getType(int field) |
int |
hashCode() |
Iterator<Map.Entry<Integer,Class<? extends Key<?>>>> |
iterator() |
String |
toString() |
getNumConnectionsThatContributed, increaseNumConnectionsThatContributed
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void addType(int key, Class<? extends Key<?>> type) throws ConflictingFieldTypeInfoException
addType
in class AbstractSchema<Class<? extends Key<?>>>
ConflictingFieldTypeInfoException
public Class<? extends Key<?>> getType(int field)
getType
in class AbstractSchema<Class<? extends Key<?>>>
public int getNumTypes()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.