| Package | Description |
|---|---|
| eu.stratosphere.core.testing |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultStringifier |
class |
RecordStringifier
Generates a string for the
Record using the given schema. |
| Modifier and Type | Field and Description |
|---|---|
static TypeStringifier<Object> |
TypeStringifier.JavaToString
Uses
Object.toString(). |
| Modifier and Type | Method and Description |
|---|---|
static <T> TypeStringifier<T> |
DefaultStringifier.get()
Returns the instance.
|
TypeStringifier<T> |
TypeConfig.getTypeStringifier()
Returns the typeStringifier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
AssertUtil.assertIteratorEquals(Iterator<? extends T> expectedIterator,
Iterator<? extends T> actualIterator,
Equaler<T> equaler,
TypeStringifier<T> stringifier)
Asserts that two iterators generate equal series of objects.
|
static <T> void |
AssertUtil.assertIteratorEquals(String message,
Iterator<? extends T> expectedIterator,
Iterator<? extends T> actualIterator,
Equaler<T> equaler,
TypeStringifier<T> stringifier)
Asserts that two iterators generate equal series of objects.
|
static <T> String |
IteratorUtil.stringify(TypeStringifier<T> typeStringifier,
Iterator<T> iterator)
Generates a string for the
Objects using the given TypeStringifier.This method stringifies at most 20 records. To exert more control over the amounts of records, use IteratorUtil.stringify(TypeStringifier, Iterator, int). |
static <T> String |
IteratorUtil.stringify(TypeStringifier<T> typeStringifier,
Iterator<T> iterator,
int maxNum)
|
| Constructor and Description |
|---|
TypeConfig(eu.stratosphere.api.common.typeutils.TypeComparatorFactory<T> typeComparatorFactory,
eu.stratosphere.api.common.typeutils.TypePairComparatorFactory<T,T> typePairComparatorFactory,
eu.stratosphere.api.common.typeutils.TypeSerializerFactory<T> typeSerializerFactory,
TypeStringifier<T> typeStringifier,
KeyExtractor<T> keyExtractor,
Equaler<T> equaler)
Initializes TypeConfig.
|
Copyright © 2014. All rights reserved.