GroupByReader
instead. GroupByReader provides the same functionality and can return continuous results@Deprecated public class AggregateReader extends ProxyReader
Modifier and Type | Class and Description |
---|---|
static class |
AggregateReader.AggregateOperation
Deprecated.
|
DataEndpoint.State
fieldLineage, recordLineage
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
AggregateReader(DataReader targetDataSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AggregateReader |
add(AggregateReader.AggregateOperation... operations)
Deprecated.
|
DataException |
addExceptionProperties(DataException exception)
Deprecated.
Adds this endpoint's current state to a
DataException . |
AggregateReader |
average(String fieldName)
Deprecated.
|
AggregateReader |
clear()
Deprecated.
|
AggregateReader |
count(String fieldName)
Deprecated.
|
Object |
getAverage(String fieldName)
Deprecated.
|
Object |
getCount(String fieldName)
Deprecated.
|
Object |
getMaximum(String fieldName)
Deprecated.
|
Object |
getMinimum(String fieldName)
Deprecated.
|
Object |
getSum(String fieldName)
Deprecated.
|
protected Record |
interceptRecord(Record record)
Deprecated.
|
AggregateReader |
maximum(String fieldName)
Deprecated.
|
AggregateReader |
minimum(String fieldName)
Deprecated.
|
void |
open()
Deprecated.
Makes this endpoint ready for reading or writing.
|
void |
reset()
Deprecated.
|
AggregateReader |
sum(String fieldName)
Deprecated.
|
String |
toString()
Deprecated.
|
available, close, getNestedReader, map, map, readImpl, setNestedDataReader, setNestedDataReader
addLineage, getBufferSize, getNestedEndpoint, getRootEndpoint, getRootReader, isExhausted, isLineageSupported, isSaveLineage, peek, pop, push, read, setSaveLineage, skip
decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public AggregateReader(DataReader targetDataSource)
public DataException addExceptionProperties(DataException exception)
Endpoint
DataException
. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties
in class ProxyReader
protected Record interceptRecord(Record record) throws Throwable
interceptRecord
in class ProxyReader
Throwable
public AggregateReader add(AggregateReader.AggregateOperation... operations)
public AggregateReader clear()
public void reset()
public void open() throws DataException
DataEndpoint
open
in class ProxyReader
DataException
public AggregateReader minimum(String fieldName)
public AggregateReader maximum(String fieldName)
public AggregateReader sum(String fieldName)
public AggregateReader average(String fieldName)
public AggregateReader count(String fieldName)
public String toString()
toString
in class DataEndpoint
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.