public final class CoreOperators extends Object
Modifier and Type | Method and Description |
---|---|
static <T> CoreOperatorFactory.Checkpoint<T> |
checkpoint(Source<T> in)
Returns a new checkpoint operator.
|
static <T> CoreOperatorFactory.Confluent<T> |
confluent(Iterable<? extends Source<T>> inputs)
Returns a new confluent operator instance.
|
static <T> CoreOperatorFactory.Confluent<T> |
confluent(Source<T>... inputs)
Returns a new confluent operator instance.
|
static <T> CoreOperatorFactory.Confluent<T> |
confluent(Source<T> a,
Source<T> b)
Returns a new confluent operator instance.
|
static <T> CoreOperatorFactory.Confluent<T> |
confluent(Source<T> a,
Source<T> b,
Source<T> c)
Returns a new confluent operator instance.
|
static <T> CoreOperatorFactory.Confluent<T> |
confluent(Source<T> a,
Source<T> b,
Source<T> c,
Source<T> d)
Returns a new confluent operator instance.
|
static CoreOperatorFactory.EmptyFragment |
empty()
Returns a new fragment which will be provide an empty operator.
|
static <T> CoreOperatorFactory.Empty<T> |
empty(Class<T> type)
Returns a new empty operator instance.
|
static CoreOperatorFactory.ExtendFragment |
extend(Source<?> in)
Returns a new fragment which will be provide an extend operator.
|
static <T> CoreOperatorFactory.Extend<T> |
extend(Source<?> in,
Class<T> targetType)
Returns a new extend operator instance.
|
static CoreOperatorFactory.ProjectFragment |
project(Source<?> in)
Returns a new fragment which will be provide a project operator.
|
static <T> CoreOperatorFactory.Project<T> |
project(Source<?> in,
Class<T> targetType)
Returns a new project operator instance.
|
static CoreOperatorFactory.RestructureFragment |
restructure(Source<?> in)
Returns a new fragment which will be provide a restructure operator.
|
static <T> CoreOperatorFactory.Restructure<T> |
restructure(Source<?> in,
Class<T> targetType)
Returns a new restructure operator instance.
|
static void |
stop(Source<?> in)
Terminates the upstream source.
|
public static <T> CoreOperatorFactory.Empty<T> empty(Class<T> type)
T
- the data model typetype
- the data model typeIllegalArgumentException
- if the parameter is null
CoreOperatorFactory.empty(Class)
public static CoreOperatorFactory.EmptyFragment empty()
CoreOperatorFactory.empty()
public static void stop(Source<?> in)
in
- the upstream sourceIllegalArgumentException
- if the parameter is null
CoreOperatorFactory.stop(Source)
public static <T> CoreOperatorFactory.Confluent<T> confluent(Source<T> a, Source<T> b)
T
- the data model typea
- the upstream source (1)b
- the upstream source (2)IllegalArgumentException
- if the parameters are null
CoreOperatorFactory.confluent(Source, Source)
public static <T> CoreOperatorFactory.Confluent<T> confluent(Source<T> a, Source<T> b, Source<T> c)
T
- the data model typea
- the upstream source (1)b
- the upstream source (2)c
- the upstream source (3)IllegalArgumentException
- if the parameters are null
CoreOperatorFactory.confluent(Source, Source, Source)
public static <T> CoreOperatorFactory.Confluent<T> confluent(Source<T> a, Source<T> b, Source<T> c, Source<T> d)
T
- the data model typea
- the upstream source (1)b
- the upstream source (2)c
- the upstream source (3)d
- the upstream source (4)IllegalArgumentException
- if the parameters are null
CoreOperatorFactory.confluent(Source, Source, Source, Source)
public static <T> CoreOperatorFactory.Confluent<T> confluent(Iterable<? extends Source<T>> inputs)
T
- the data model typeinputs
- the upstream sourcesIllegalArgumentException
- if the parameter is null
CoreOperatorFactory.confluent(Iterable)
@SafeVarargs public static <T> CoreOperatorFactory.Confluent<T> confluent(Source<T>... inputs)
T
- the data model typeinputs
- the upstream sourcesIllegalArgumentException
- if the parameter is null
CoreOperatorFactory.confluent(Iterable)
public static <T> CoreOperatorFactory.Checkpoint<T> checkpoint(Source<T> in)
T
- the data model typein
- the upstream sourceIllegalArgumentException
- if the parameter is null
CoreOperatorFactory.checkpoint(Source)
public static <T> CoreOperatorFactory.Project<T> project(Source<?> in, Class<T> targetType)
T
- the target data model typein
- the upstream sourcetargetType
- the target data model classIllegalArgumentException
- if some parameters were null
CoreOperatorFactory.project(Source, Class)
public static CoreOperatorFactory.ProjectFragment project(Source<?> in)
in
- the upstream sourceIllegalArgumentException
- if the parameters are null
CoreOperatorFactory.project(Source)
public static <T> CoreOperatorFactory.Extend<T> extend(Source<?> in, Class<T> targetType)
T
- the target data model typein
- the upstream sourcetargetType
- the target data model classIllegalArgumentException
- if the parameters are null
CoreOperatorFactory.extend(Source, Class)
public static CoreOperatorFactory.ExtendFragment extend(Source<?> in)
in
- the upstream sourceIllegalArgumentException
- if the parameters are null
CoreOperatorFactory.extend(Source)
public static <T> CoreOperatorFactory.Restructure<T> restructure(Source<?> in, Class<T> targetType)
T
- the target data model typein
- the upstream sourcetargetType
- the target data model classIllegalArgumentException
- if the parameters are null
CoreOperatorFactory.restructure(Source, Class)
public static CoreOperatorFactory.RestructureFragment restructure(Source<?> in)
in
- the upstream sourceIllegalArgumentException
- if the parameters are null
CoreOperatorFactory.restructure(Source)
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.