public class CoreOperatorFactory extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CoreOperatorFactory.Checkpoint<T>Represents a checkpoint operator which provides restarting point for (partial) failures. | 
| static class  | CoreOperatorFactory.Confluent<T>Represents a confluent operator which provides union of data-sets. | 
| static class  | CoreOperatorFactory.Empty<T>Represents an empty operator which provides empty data-sets. | 
| static class  | CoreOperatorFactory.EmptyFragmentAn empty operator fragment which requires the target type. | 
| static class  | CoreOperatorFactory.Extend<T>Represents a extend operator which transforms data model objects into other data model types. | 
| static class  | CoreOperatorFactory.ExtendFragmentAn extend operator fragment which requires the target type. | 
| static class  | CoreOperatorFactory.Project<T>Represents a project operator which transforms data model objects into other data model types. | 
| static class  | CoreOperatorFactory.ProjectFragmentAn project operator fragment which requires the target type. | 
| static class  | CoreOperatorFactory.Restructure<T>Represents a restructure operator which transforms data model objects into other data model types. | 
| static class  | CoreOperatorFactory.RestructureFragmentAn restructure operator fragment which requires the target type. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | CHECKPOINT_NAMEThe common instance name of checkpoint operator. | 
| static String | CONFLUENT_NAMEThe common instance name of confluent operator. | 
| static String | EMPTY_NAMEThe common instance name of empty operator. | 
| static String | EXTEND_NAMEThe common instance name of extend operator. | 
| static String | PROJECT_NAMEThe common instance name of project operator. | 
| static String | RESTRUCTURE_NAMEThe common instance name of restructure operator. | 
| static String | STOP_NAMEThe common instance name of stop operator. | 
| Constructor and Description | 
|---|
| CoreOperatorFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> CoreOperatorFactory.Checkpoint<T> | checkpoint(Source<T> in)Returns a new checkpoint operator. | 
| <T> CoreOperatorFactory.Confluent<T> | confluent(Iterable<? extends Source<T>> inputs)Returns a new confluent operator instance. | 
| <T> CoreOperatorFactory.Confluent<T> | confluent(Source<T>... inputs)Returns a new confluent operator instance. | 
| <T> CoreOperatorFactory.Confluent<T> | confluent(Source<T> a,
         Source<T> b)Returns a new confluent operator instance. | 
| <T> CoreOperatorFactory.Confluent<T> | confluent(Source<T> a,
         Source<T> b,
         Source<T> c)Returns a new confluent operator instance. | 
| <T> CoreOperatorFactory.Confluent<T> | confluent(Source<T> a,
         Source<T> b,
         Source<T> c,
         Source<T> d)Returns a new confluent operator instance. | 
| CoreOperatorFactory.EmptyFragment | empty()Returns a new fragment which will be provide an empty operator. | 
| <T> CoreOperatorFactory.Empty<T> | empty(Class<T> type)Returns a new empty operator instance. | 
| <T> CoreOperatorFactory.Empty<T> | empty(Type type)Returns a new empty operator instance. | 
| CoreOperatorFactory.ExtendFragment | extend(Source<?> in)Returns a new fragment which will be provide an extend operator. | 
| <T> CoreOperatorFactory.Extend<T> | extend(Source<?> in,
      Class<T> targetType)Returns a new extend operator instance. | 
| CoreOperatorFactory.ProjectFragment | project(Source<?> in)Returns a new fragment which will be provide a project operator. | 
| <T> CoreOperatorFactory.Project<T> | project(Source<?> in,
       Class<T> targetType)Returns a new project operator instance. | 
| CoreOperatorFactory.RestructureFragment | restructure(Source<?> in)Returns a new fragment which will be provide a restructure operator. | 
| <T> CoreOperatorFactory.Restructure<T> | restructure(Source<?> in,
           Class<T> targetType)Returns a new restructure operator instance. | 
| void | stop(Source<?> in)Terminates the upstream source. | 
public static final String EMPTY_NAME
public static final String STOP_NAME
public static final String CONFLUENT_NAME
public static final String CHECKPOINT_NAME
public static final String PROJECT_NAME
public static final String EXTEND_NAME
public static final String RESTRUCTURE_NAME
public <T> CoreOperatorFactory.Empty<T> empty(Class<T> type)
T - the data model typetype - the data model typeIllegalArgumentException - if the parameter is nullEmptypublic <T> CoreOperatorFactory.Empty<T> empty(Type type)
T - the data model typetype - the data model typeIllegalArgumentException - if the parameter is nullEmptypublic CoreOperatorFactory.EmptyFragment empty()
empty(Class)public void stop(Source<?> in)
in - the upstream sourceIllegalArgumentException - if the parameter is nullStoppublic <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 nullConfluentpublic <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 nullConfluentpublic <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 nullConfluentpublic <T> CoreOperatorFactory.Confluent<T> confluent(Iterable<? extends Source<T>> inputs)
T - the data model typeinputs - the upstream sourcesIllegalArgumentException - if the parameter is nullConfluent@SafeVarargs public final <T> CoreOperatorFactory.Confluent<T> confluent(Source<T>... inputs)
T - the data model typeinputs - the upstream sourcesIllegalArgumentException - if the parameter is nullConfluentpublic <T> CoreOperatorFactory.Checkpoint<T> checkpoint(Source<T> in)
T - the data model typein - the upstream sourceIllegalArgumentException - if the parameter is nullCheckpointpublic <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 the parameters are nullproject(Source), 
Projectpublic CoreOperatorFactory.ProjectFragment project(Source<?> in)
in - the upstream sourceIllegalArgumentException - if the parameters are nullproject(Source, Class)public <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 nullextend(Source), 
Extendpublic CoreOperatorFactory.ExtendFragment extend(Source<?> in)
in - the upstream sourceIllegalArgumentException - if the parameters are nullextend(Source, Class)public <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 nullrestructure(Source), 
Restructurepublic CoreOperatorFactory.RestructureFragment restructure(Source<?> in)
in - the upstream sourceIllegalArgumentException - if the parameters are nullrestructure(Source, Class)Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.