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.StatefieldLineage, recordLineagelastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEYBUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZEid, 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, setNestedDataReaderaddLineage, getBufferSize, getNestedEndpoint, getReader, getRootEndpoint, getRootReader, isExhausted, isLineageSupported, isSaveLineage, peek, pop, push, read, setSaveLineage, skipdecrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCountaddElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescriptionpublic AggregateReader(DataReader targetDataSource)
public DataException addExceptionProperties(DataException exception)
EndpointDataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties in class ProxyReaderprotected Record interceptRecord(Record record) throws Throwable
interceptRecord in class ProxyReaderThrowablepublic AggregateReader add(AggregateReader.AggregateOperation... operations)
public AggregateReader clear()
public void reset()
public void open()
throws DataException
DataEndpointopen in class ProxyReaderDataExceptionpublic 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 DataEndpointCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.