| Package | Description |
|---|---|
| org.apache.calcite.profile |
Utilities to analyze data sets.
|
| org.apache.calcite.runtime |
Utilities required at runtime.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) SortedSet<FlatLists.ComparableList<Comparable>> |
SimpleProfiler.Space.values |
(package private) Set<FlatLists.ComparableList> |
ProfilerImpl.CompositeCollector.values |
| Modifier and Type | Class and Description |
|---|---|
private static class |
FlatLists.ComparableEmptyList<T>
Empty list that implements the
Comparable interface. |
(package private) static class |
FlatLists.ComparableListImpl<T extends Comparable<T>>
Wrapper around a list that makes it implement the
Comparable
interface using lexical ordering. |
protected static class |
FlatLists.Flat1List<T>
List that stores its one elements in the one members of the class.
|
protected static class |
FlatLists.Flat2List<T>
List that stores its two elements in the two members of the class.
|
protected static class |
FlatLists.Flat3List<T>
List that stores its three elements in the three members of the class.
|
protected static class |
FlatLists.Flat4List<T>
List that stores its four elements in the four members of the class.
|
protected static class |
FlatLists.Flat5List<T>
List that stores its five elements in the five members of the class.
|
protected static class |
FlatLists.Flat6List<T>
List that stores its six elements in the six members of the class.
|
| Modifier and Type | Method and Description |
|---|---|
FlatLists.ComparableList<E> |
SqlFunctions.ProductComparableListEnumerator.current() |
private static <T extends Object & Comparable> |
FlatLists.flatList_(T[] t,
boolean copy)
Creates a memory-, CPU- and cache-efficient comparable immutable list,
optionally copying the list.
|
private static <T> FlatLists.ComparableList<T> |
FlatLists.of_(List<T> t) |
static <T> FlatLists.ComparableList<T> |
FlatLists.of()
Creates a flat list with 0 elements.
|
static <T extends Comparable> |
FlatLists.ofComparable(List<T> t) |
| Modifier and Type | Method and Description |
|---|---|
static Function1<Object,Enumerable<FlatLists.ComparableList<Comparable>>> |
SqlFunctions.flatProduct(int[] fieldCounts,
boolean withOrdinality,
SqlFunctions.FlatProductInputType[] inputTypes) |
private static Enumerable<FlatLists.ComparableList<Comparable>> |
SqlFunctions.p2(Object[] lists,
int[] fieldCounts,
boolean withOrdinality,
SqlFunctions.FlatProductInputType[] inputTypes) |
static <E extends Comparable> |
SqlFunctions.product(List<Enumerator<List<E>>> enumerators,
int fieldCount,
boolean withOrdinality)
Similar to
Linq4j.product(Iterable) but each resulting list
implements FlatLists.ComparableList. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.