Package org.apache.calcite.runtime
Utilities required at runtime.
-
Interface Summary Interface Description ArrayBindable Extension toBindable
that returns rows that are arrays of objects.Bindable<T> Statement that can be bound to aDataContext
and then executed.CalciteResource Compiler-checked resources for the Calcite project.FlatLists.ComparableList<T> List that is also comparable.GeoFunctions.Geom Geometry.Hook.Closeable Removes a Hook after use.Resources.PropertyAccessor Means by which a resource can get values of properties, given their name.ResultSetEnumerable.PreparedStatementEnricher Consumer for decorating aPreparedStatement
, that is, setting its parameters.Typed Adds type information to aEnumerable
. -
Class Summary Class Description AbstractImmutableList<E> Base class for lists whose contents are constant after creation.ArrayComparator Compares arrays.ArrayEnumeratorCursor BinarySearch Binary search for the implementation of RANGE BETWEEN XXX PRECEDING/FOLLOWING clause.ConsList<E> List that consists of a head element and an immutable non-empty list.Enumerables Utilities for processingEnumerable
collections.EnumeratorCursor<T> Implementation ofCursor
on top of anEnumerator
that returns a record for each row.Feature SQL language feature.FlatLists Space-efficient, comparable, immutable lists.FlatLists.AbstractFlatList<T> Base class for flat lists.FlatLists.ComparableEmptyList<T> Empty list that implements theComparable
interface.FlatLists.ComparableListImpl<T extends java.lang.Comparable<T>> Wrapper around a list that makes it implement theComparable
interface using lexical ordering.FlatLists.Flat1List<T> List that stores its one elements in the one members of the class.FlatLists.Flat2List<T> List that stores its two elements in the two members of the class.FlatLists.Flat3List<T> List that stores its three elements in the three members of the class.FlatLists.Flat4List<T> List that stores its four elements in the four members of the class.FlatLists.Flat5List<T> List that stores its five elements in the five members of the class.FlatLists.Flat6List<T> List that stores its six elements in the six members of the class.GeoFunctions Helper methods to implement Geo-spatial functions in generated code.GeoFunctions.MapGeom Sub-class of geometry that has a spatial reference.GeoFunctions.SimpleGeom Sub-class of geometry that has no spatial reference.HttpUtils Utilities for connecting to REST services such as Splunk via HTTP.Like Utilities for converting SQLLIKE
andSIMILAR
operators to regular expressions.ObjectEnumeratorCursor PredicateImpl<T> Deprecated. Now Calcite is Java 8 and higher, we recommend that you implementPredicate
directly.RandomFunction Function object forRAND
andRAND_INTEGER
, with and without seed.RecordEnumeratorCursor<E> Implementation ofCursor
on top of anEnumerator
that returns a record for each row.Resources Defining wrapper classes around resources that allow the compiler to check whether the resources exist and have the argument types that your code expects.Resources.BooleanProp Boolean property instance.Resources.DoubleProp Double property instance.Resources.Element Element in a resource (either a resource or a property).Resources.ExInst<T extends java.lang.Exception> Sub-class ofResources.Inst
that can throw an exception without caused by.Resources.ExInstWithCause<T extends java.lang.Exception> Sub-class ofResources.Inst
that can throw an exception.Resources.Inst Resource instance.Resources.IntProp Integer property instance.Resources.MyPropertyResourceBundle Resource bundle based on properties.Resources.Prop Property instance.Resources.PropertiesAccessor Implementation ofResources.PropertyAccessor
that reads from aProperties
.Resources.ShadowResourceBundle ShadowResourceBundle
is an abstract base class forResourceBundle
classes which are backed by a properties file.Resources.StringProp String property instance.ResultSetEnumerable<T> Executes a SQL statement and returns the result as anEnumerable
.ResultSetEnumerable.ResultSetEnumerator<T> Implementation ofEnumerator
that reads from aResultSet
.SocketFactoryImpl Extends the SocketFactory object with the main functionality being that the created sockets inherit a set of options whose values are set in the SocketFactoryImpl.SortedMultiMap<K,V> Map that allows you to partition values into lists according to a common key, and then convert those lists into an iterator of sorted arrays.SqlFunctions Helper methods to implement SQL functions in generated code.SqlFunctions.PathContext Returned path context of JsonApiCommonSyntax, public for testing.SqlFunctions.ProductComparableListEnumerator<E extends java.lang.Comparable> Enumerates over the cartesian product of the given lists, returning a comparable list for each row.TrustAllSslSocketFactory Socket factory that trusts all SSL connections.TrustAllSslSocketFactory.DummyTrustManager Implementation ofX509TrustManager
that trusts all certificates.Unit Synthetic record with zero fields.Utilities Utility methods called by generated code. -
Enum Summary Enum Description GeoFunctions.CapStyle How the "buffer" command terminates the end of a line.GeoFunctions.JoinStyle How the "buffer" command decorates junctions between line segments.GeoFunctions.Type Geometry types, with the names and codes assigned by OGC.Hook Collection of hooks that can be set by observers and are executed at various parts of the query preparation process.Resources.BuiltinMethod Resources.EmptyPropertyAccessor Resources.Validation Types of validation that can be performed on a resource.SqlFunctions.FlatProductInputType Type of argument passed intoSqlFunctions.flatProduct(int[], boolean, org.apache.calcite.runtime.SqlFunctions.FlatProductInputType[])
.SqlFunctions.PathMode Path spec has two different modes: lax mode and strict mode. -
Exception Summary Exception Description CalciteContextException Exception which contains information about the textual context of the causing exception.CalciteException Base class for all exceptions originating from Farrago.Resources.NoDefaultValueException Thrown when a default value is needed but a property does not have one. -
Annotation Types Summary Annotation Type Description Resources.BaseMessage The message in the default locale.Resources.Default Default value of a property.Resources.Property Property of a resource.Resources.Resource The name of the property in the resource file.