| Modifier and Type | Interface and Description |
|---|---|
interface |
Aggregator<T extends Value>
Aggregators are a means of aggregating values across parallel instances of a function.
|
class |
AggregatorWithName<T extends Value>
Simple utility class holding an
Aggregator with the name it is registered under. |
interface |
ConvergenceCriterion<T extends Value>
Used to check for convergence.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Value> |
AggregatorRegistry.registerAggregationConvergenceCriterion(String name,
Aggregator<T> aggregator,
ConvergenceCriterion<T> convergenceCheck) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Value> |
IterationRuntimeContext.getPreviousIterationAggregate(String name) |
| Modifier and Type | Method and Description |
|---|---|
static <V extends Value> |
Types.VALUE(Class<V> valueType)
Returns type information for Flink value types (classes that implement
Value). |
| Modifier and Type | Class and Description |
|---|---|
class |
ValueTypeInfo<T extends Value>
Type information for data types that extend the
Value interface. |
| Modifier and Type | Class and Description |
|---|---|
class |
ValueComparator<T extends Value & Comparable<T>>
Comparator for all Value types that extend Key
|
class |
ValueSerializer<T extends Value>
Serializer for
Value types. |
static class |
ValueSerializer.ValueSerializerConfigSnapshot<T extends Value> |
| Modifier and Type | Class and Description |
|---|---|
class |
ListValue<V extends Value>
Generic list base type for PACT programs that implements the Value and List interfaces.
|
class |
MapValue<K extends Value,V extends Value>
Generic map base type for PACT programs that implements the Value and Map interfaces.
|
class |
MapValue<K extends Value,V extends Value>
Generic map base type for PACT programs that implements the Value and Map interfaces.
|
interface |
ResettableValue<T extends Value> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CopyableValue<T>
Interface to be implemented by basic types that support to be copied efficiently.
|
interface |
Key<T>
Deprecated.
The Key type is a relict of a deprecated and removed API and will be removed
in future (2.0) versions as well.
|
interface |
NormalizableKey<T>
The base interface for normalizable keys.
|
interface |
ResettableValue<T extends Value> |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanValue
Boxed serializable and comparable boolean type, representing the primitive
type
boolean. |
class |
ByteValue
Boxed serializable and comparable byte type, representing the primitive
type
byte (signed 8 bit integer). |
class |
CharValue
Boxed serializable and comparable character type, representing the primitive
type
char. |
class |
DoubleValue
Boxed serializable and comparable double precision floating point type, representing the primitive
type
double. |
class |
FloatValue
Boxed serializable and comparable single precision floating point type, representing the primitive
type
float. |
class |
IntValue
Boxed serializable and comparable integer type, representing the primitive
type
int. |
class |
ListValue<V extends Value>
Generic list base type for PACT programs that implements the Value and List interfaces.
|
class |
LongValue
Boxed serializable and comparable long integer type, representing the primitive
type
long. |
class |
MapValue<K extends Value,V extends Value>
Generic map base type for PACT programs that implements the Value and Map interfaces.
|
class |
NullValue
Null base type for programs that implements the Key interface.
|
class |
Record
The Record represents a multi-valued data record.
|
class |
ShortValue
Boxed serializable and comparable short integer type, representing the primitive
type
short. |
class |
StringValue
Mutable string data type that implements the Key interface.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Value> |
Record.getField(int fieldNum,
Class<T> type)
Gets the field at the given position from the record.
|
<T extends Value> |
Record.getField(int fieldNum,
T target)
Gets the field at the given position.
|
| Modifier and Type | Method and Description |
|---|---|
static Value |
JavaToValueConverter.convertBoxedJavaType(Object boxed) |
| Modifier and Type | Method and Description |
|---|---|
void |
Record.addField(Value value) |
static Object |
JavaToValueConverter.convertValueType(Value value) |
boolean |
Record.equalsFields(int[] positions,
Value[] searchValues,
Value[] deserializationHolders)
Checks the values of this record and a given list of values at specified positions for equality.
|
boolean |
Record.equalsFields(int[] positions,
Value[] searchValues,
Value[] deserializationHolders)
Checks the values of this record and a given list of values at specified positions for equality.
|
boolean |
Record.getFieldInto(int fieldNum,
Value target)
Gets the field at the given position.
|
boolean |
Record.getFieldsInto(int[] positions,
Value[] targets)
Gets the fields at the given positions into an array.
|
void |
Record.getFieldsIntoCheckingNull(int[] positions,
Value[] targets)
Gets the fields at the given positions into an array.
|
void |
Record.setField(int fieldNum,
Value value)
Sets the field at the given position to the given value.
|
| Constructor and Description |
|---|
Record(Value value)
Creates a new record containing only a single field, which is the given value.
|
Record(Value val1,
Value val2)
Creates a new record containing exactly two fields, which are the given values.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.