public class RecordKeyExtractor extends Object implements KeyExtractor<eu.stratosphere.types.Record>
| Constructor and Description |
|---|
RecordKeyExtractor(it.unimi.dsi.fastutil.ints.IntList indices,
List<Class<? extends eu.stratosphere.types.Key>> keyClasses)
Initializes RecordKeyExtractor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fill(Comparable<?>[] keys,
eu.stratosphere.types.Record record)
Copies the keys from the given record into the provided keys array.s
|
it.unimi.dsi.fastutil.ints.IntList |
getIndices()
Returns the indices.
|
List<Class<? extends eu.stratosphere.types.Key>> |
getKeyClasses()
Returns the keyClasses.
|
int |
getNumKeys() |
void |
removeKey(int schemaIndex) |
public void fill(Comparable<?>[] keys, eu.stratosphere.types.Record record)
KeyExtractorfill in interface KeyExtractor<eu.stratosphere.types.Record>public it.unimi.dsi.fastutil.ints.IntList getIndices()
public List<Class<? extends eu.stratosphere.types.Key>> getKeyClasses()
public int getNumKeys()
getNumKeys in interface KeyExtractor<eu.stratosphere.types.Record>public void removeKey(int schemaIndex)
Copyright © 2014. All rights reserved.