Uses of Class
io.activej.aggregation.ot.AggregationStructure
Packages that use AggregationStructure
-
Uses of AggregationStructure in io.activej.aggregation
Methods in io.activej.aggregation that return AggregationStructureMethods in io.activej.aggregation with parameters of type AggregationStructureModifier and TypeMethodDescriptionstatic AggregationAggregation.create(io.activej.eventloop.Eventloop eventloop, Executor executor, DefiningClassLoader classLoader, AggregationChunkStorage aggregationChunkStorage, io.activej.csp.process.frames.FrameFormat frameFormat, @NotNull AggregationStructure structure) Instantiates an aggregation with the specified structure, that runs in a given event loop, uses the specified class loader for creating dynamic classes, saves data and metadata to given storages.static <C,T> AggregationChunker<C, T> AggregationChunker.create(AggregationStructure aggregation, List<String> fields, Class<T> recordClass, PartitionPredicate<T> partitionPredicate, AggregationChunkStorage<C> storage, DefiningClassLoader classLoader, int chunkSize) static PrimaryKeyCodecPrimaryKeyCodec.create(AggregationStructure structure) <T> io.activej.promise.Promise<StreamSupplier<T>>ActiveFsChunkStorage.read(AggregationStructure aggregation, List<String> fields, Class<T> recordClass, C chunkId, DefiningClassLoader classLoader) <T> io.activej.promise.Promise<StreamSupplier<T>>AggregationChunkStorage.read(AggregationStructure aggregation, List<String> fields, Class<T> recordClass, C chunkId, DefiningClassLoader classLoader) Creates aStreamSupplierthat streams records contained in the chunk.<T> io.activej.promise.Promise<StreamConsumer<T>>ActiveFsChunkStorage.write(AggregationStructure aggregation, List<String> fields, Class<T> recordClass, C chunkId, DefiningClassLoader classLoader) <T> io.activej.promise.Promise<StreamConsumer<T>>AggregationChunkStorage.write(AggregationStructure aggregation, List<String> fields, Class<T> recordClass, C chunkId, DefiningClassLoader classLoader) Creates aStreamConsumerthat persists streamed records.Constructors in io.activej.aggregation with parameters of type AggregationStructureModifierConstructorDescriptionAggregationGroupReducer(@NotNull AggregationChunkStorage<C> storage, @NotNull AggregationStructure aggregation, @NotNull List<String> measures, @NotNull Class<T> recordClass, @NotNull PartitionPredicate<T> partitionPredicate, @NotNull Function<T, K> keyFunction, @NotNull Aggregate<T, Object> aggregate, int chunkSize, @NotNull DefiningClassLoader classLoader) -
Uses of AggregationStructure in io.activej.aggregation.ot
Methods in io.activej.aggregation.ot that return AggregationStructureModifier and TypeMethodDescriptionstatic AggregationStructureAggregationStructure.create(ChunkIdCodec<?> chunkIdCodec) AggregationStructure.withIgnoredMeasure(String measureId, FieldType measureType) AggregationStructure.withMeasure(String measureId, Measure aggregateFunction) AggregationStructure.withPartitioningKey(String... partitioningKey) AggregationStructure.withPartitioningKey(List<String> partitioningKey) Methods in io.activej.aggregation.ot with parameters of type AggregationStructureModifier and TypeMethodDescriptionstatic AggregationDiffCodecAggregationDiffCodec.create(AggregationStructure structure) -
Uses of AggregationStructure in io.activej.aggregation.util
Methods in io.activej.aggregation.util with parameters of type AggregationStructureModifier and TypeMethodDescriptionstatic <K extends Comparable,I, O, A>
StreamReducers.Reducer<K,I, O, A> Utils.aggregationReducer(AggregationStructure aggregation, Class<I> inputClass, Class<O> outputClass, List<String> keys, List<String> fields, Map<String, Measure> extraFields, DefiningClassLoader classLoader) static <T> io.activej.serializer.BinarySerializer<T>Utils.createBinarySerializer(AggregationStructure aggregation, Class<T> recordClass, List<String> keys, List<String> fields, DefiningClassLoader classLoader) Utils.createPreaggregator(AggregationStructure aggregation, Class<I> inputClass, Class<O> outputClass, Map<String, String> keyFields, Map<String, String> measureFields, DefiningClassLoader classLoader) static <T> Class<T>Utils.createRecordClass(AggregationStructure aggregation, Collection<String> keys, Collection<String> fields, DefiningClassLoader classLoader)