public class GenericMode<B extends java.lang.Comparable<B>> extends java.lang.Object implements org.apache.derby.agg.Aggregator<B,B,GenericMode<B>>
This is a generic mode aggregator for testing with many types.
Modifier and Type | Class and Description |
---|---|
static class |
GenericMode.Accumulator<B extends java.lang.Comparable<B>> |
static class |
GenericMode.BigDecimalMode |
static class |
GenericMode.BigintMode |
static class |
GenericMode.BooleanMode |
static class |
GenericMode.DoubleMode |
static class |
GenericMode.FullNameMode |
static class |
GenericMode.IntMode |
static class |
GenericMode.RealMode |
static class |
GenericMode.ShortMode |
static class |
GenericMode.StringMode |
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<B,GenericMode.Accumulator<B>> |
_accumulators |
Constructor and Description |
---|
GenericMode() |
Modifier and Type | Method and Description |
---|---|
void |
accumulate(B value) |
private GenericMode.Accumulator<B> |
getAccumulator(B value) |
void |
init() |
void |
merge(GenericMode<B> otherAggregator) |
B |
terminate() |
private java.util.HashMap<B extends java.lang.Comparable<B>,GenericMode.Accumulator<B extends java.lang.Comparable<B>>> _accumulators
public void init()
public void accumulate(B value)
public void merge(GenericMode<B> otherAggregator)
public B terminate()
private GenericMode.Accumulator<B> getAccumulator(B value)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.