OmniSciDB
a5dc49c757
|
Classes | |
enum | ExtArgumentType |
Public Member Functions | |
Map< String, Comparable<?> > | getDefaultValues () |
Map< String, List < ExtArgumentType > > | getCursorFieldTypes () |
List< ExtArgumentType > | getArgs () |
List< ExtArgumentType > | getOuts () |
List< String > | getArgNames () |
List< String > | getPrettyArgNames () |
List< String > | getOutNames () |
ExtArgumentType | getRet () |
SqlTypeName | getSqlRet () |
Map< String, String > | getOptions () |
boolean | isRowUdf () |
boolean | isTableUdf () |
String | toJson (final String name) |
final java.util.List < SqlTypeFamily > | toSqlSignature () |
Static Public Member Functions | |
static boolean | isPointerType (final ExtArgumentType type) |
static boolean | isColumnArrayType (final ExtArgumentType type) |
static boolean | isArrayType (final ExtArgumentType type) |
static boolean | isColumnListArrayType (final ExtArgumentType type) |
static boolean | isColumnType (final ExtArgumentType type) |
static boolean | isColumnListType (final ExtArgumentType type) |
static ExtArgumentType | getValueType (final ExtArgumentType type) |
static ExtArgumentType | toSqlTypeName (final String type) |
static RelDataType | toRelDataType (final ExtArgumentType type, RelDataTypeFactory factory) |
static SqlTypeName | toSqlTypeName (final ExtArgumentType type) |
Package Functions | |
ExtensionFunction (final List< ExtArgumentType > args, final ExtArgumentType ret, final List< Map< String, String >> annotations) | |
ExtensionFunction (final List< ExtArgumentType > args, final List< ExtArgumentType > outs, final List< String > names, final Map< String, String > options, final Map< String, List< ExtArgumentType >> cursor_field_types, final Map< String, java.lang.Comparable<?>> default_values) | |
Static Package Attributes | |
static final Logger | HEAVYDBLOGGER = LoggerFactory.getLogger(ExtensionFunction.class) |
Static Private Member Functions | |
static String | typeName (final ExtArgumentType type) |
static String | dq (final String str) |
Private Attributes | |
final List< ExtArgumentType > | args |
final List< ExtArgumentType > | outs |
final List< String > | names |
final ExtArgumentType | ret |
final boolean | isRowUdf |
final List< Map< String, String > > | annotations |
final Map< String, String > | options |
final Map< String, List < ExtArgumentType > > | cursor_field_types |
final Map< String, Comparable<?> > | default_values |
Definition at line 37 of file ExtensionFunction.java.
|
inlinepackage |
Definition at line 129 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.annotations, com.mapd.parser.server.ExtensionFunction.args, and com.mapd.parser.server.ExtensionFunction.ret.
|
inlinepackage |
Definition at line 143 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.args, com.mapd.parser.server.ExtensionFunction.cursor_field_types, com.mapd.parser.server.ExtensionFunction.default_values, com.mapd.parser.server.ExtensionFunction.names, com.mapd.parser.server.ExtensionFunction.options, and com.mapd.parser.server.ExtensionFunction.outs.
|
inlinestaticprivate |
Definition at line 446 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.toJson().
|
inline |
Definition at line 178 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.names.
|
inline |
|
inline |
Definition at line 165 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.isTableUdf().
|
inline |
Definition at line 160 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.isTableUdf().
|
inline |
Definition at line 214 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.options.
|
inline |
Definition at line 198 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.names.
|
inline |
Definition at line 174 of file ExtensionFunction.java.
|
inline |
Definition at line 185 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.names, and split().
|
inline |
Definition at line 205 of file ExtensionFunction.java.
|
inline |
Definition at line 209 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ret, and com.mapd.parser.server.ExtensionFunction.toSqlTypeName().
|
inlinestatic |
Definition at line 552 of file ExtensionFunction.java.
References ArrayBool, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayBool, ArrayDouble, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayDouble, ArrayFloat, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayFloat, ArrayInt16, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayInt16, ArrayInt32, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayInt32, ArrayInt64, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayInt64, ArrayInt8, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayInt8, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayTextEncodingDict, ArrayTextEncodingDict, ArrayTextEncodingNone, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayTextEncodingNone, Bool, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Bool, ColumnArrayBool, ColumnArrayDouble, ColumnArrayFloat, ColumnArrayInt16, ColumnArrayInt32, ColumnArrayInt64, ColumnArrayInt8, ColumnArrayTextEncodingDict, ColumnArrayTextEncodingNone, ColumnBool, ColumnDouble, ColumnFloat, ColumnGeoLineString, ColumnGeoMultiLineString, ColumnGeoMultiPoint, ColumnGeoMultiPolygon, ColumnGeoPoint, ColumnGeoPolygon, ColumnInt16, ColumnInt32, ColumnInt64, ColumnInt8, ColumnListArrayBool, ColumnListArrayDouble, ColumnListArrayFloat, ColumnListArrayInt16, ColumnListArrayInt32, ColumnListArrayInt64, ColumnListArrayInt8, ColumnListArrayTextEncodingDict, ColumnListArrayTextEncodingNone, ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListGeoLineString, ColumnListGeoMultiLineString, ColumnListGeoMultiPoint, ColumnListGeoMultiPolygon, ColumnListGeoPoint, ColumnListGeoPolygon, ColumnListInt16, ColumnListInt32, ColumnListInt64, ColumnListInt8, ColumnListTextEncodingDict, ColumnListTextEncodingNone, ColumnTextEncodingDict, ColumnTextEncodingNone, ColumnTimestamp, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Double, Double, Float, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Float, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoLineString, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoMultiLineString, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoMultiPoint, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoMultiPolygon, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoPoint, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.GeoPolygon, Int16, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Int16, Int32, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Int32, Int64, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Int64, Int8, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Int8, PBool, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.TextEncodingDict, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.TextEncodingNone, com.mapd.parser.server.ExtensionFunction.ExtArgumentType.Timestamp, and run_benchmark_import.type.
Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.inferReturnType(), and com.mapd.parser.server.ExtensionFunction.toRelDataType().
|
inlinestatic |
Definition at line 497 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ArrayTextEncodingNone.
Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.inferReturnType().
|
inlinestatic |
Definition at line 485 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ColumnArrayTextEncodingNone.
Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtTableFunction.getRowTypeInference(), and com.mapd.parser.server.ExtensionFunction.isColumnType().
|
inlinestatic |
Definition at line 506 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ColumnListArrayTextEncodingNone.
Referenced by com.mapd.parser.server.ExtensionFunction.isColumnListType().
|
inlinestatic |
Definition at line 534 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ColumnListGeoMultiPolygon, and com.mapd.parser.server.ExtensionFunction.isColumnListArrayType().
|
inlinestatic |
Definition at line 518 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.ColumnGeoMultiPolygon, and com.mapd.parser.server.ExtensionFunction.isColumnArrayType().
|
inlinestatic |
Definition at line 478 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.ExtArgumentType.PBool.
Referenced by com.mapd.parser.server.ExtensionFunction.toSqlSignature().
|
inline |
Definition at line 221 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.toJson(), and com.mapd.parser.server.ExtensionFunction.toSqlSignature().
|
inline |
Definition at line 225 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.getCursorFieldTypes(), and com.mapd.parser.server.ExtensionFunction.getDefaultValues().
|
inline |
Definition at line 229 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.annotations, File_Namespace.append(), com.mapd.parser.server.ExtensionFunction.args, com.mapd.parser.server.ExtensionFunction.dq(), com.mapd.parser.server.ExtensionFunction.isRowUdf(), setup.name, com.mapd.parser.server.ExtensionFunction.outs, com.mapd.parser.server.ExtensionFunction.ret, and com.mapd.parser.server.ExtensionFunction.typeName().
|
inlinestatic |
Definition at line 662 of file ExtensionFunction.java.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, ArrayInt8, ArrayTextEncodingDict, ArrayTextEncodingNone, ColumnArrayBool, ColumnArrayDouble, ColumnArrayFloat, ColumnArrayInt16, ColumnArrayInt32, ColumnArrayInt64, ColumnArrayInt8, ColumnArrayTextEncodingDict, ColumnArrayTextEncodingNone, ColumnTimestamp, com.mapd.parser.server.ExtensionFunction.getValueType(), and com.mapd.parser.server.ExtensionFunction.toSqlTypeName().
|
inline |
Definition at line 461 of file ExtensionFunction.java.
References com.mapd.parser.server.ExtensionFunction.isPointerType(), com.mapd.parser.server.ExtensionFunction.isRowUdf(), and com.mapd.parser.server.ExtensionFunction.toSqlTypeName().
Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.ExtFunction().
|
inlinestatic |
Definition at line 658 of file ExtensionFunction.java.
References run_benchmark_import.type.
Referenced by com.mapd.parser.server.ExtensionFunction.getSqlRet(), com.mapd.parser.server.ExtensionFunction.toRelDataType(), and com.mapd.parser.server.ExtensionFunction.toSqlSignature().
|
inlinestatic |
Definition at line 710 of file ExtensionFunction.java.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, ArrayInt8, ArrayTextEncodingDict, ArrayTextEncodingNone, Bool, ColumnArrayBool, ColumnArrayDouble, ColumnArrayFloat, ColumnArrayInt16, ColumnArrayInt32, ColumnArrayInt64, ColumnArrayInt8, ColumnArrayTextEncodingDict, ColumnArrayTextEncodingNone, ColumnBool, ColumnDouble, ColumnFloat, ColumnGeoLineString, ColumnGeoMultiLineString, ColumnGeoMultiPoint, ColumnGeoMultiPolygon, ColumnGeoPoint, ColumnGeoPolygon, ColumnInt16, ColumnInt32, ColumnInt64, ColumnInt8, ColumnListArrayBool, ColumnListArrayDouble, ColumnListArrayFloat, ColumnListArrayInt16, ColumnListArrayInt32, ColumnListArrayInt64, ColumnListArrayInt8, ColumnListArrayTextEncodingDict, ColumnListArrayTextEncodingNone, ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListGeoLineString, ColumnListGeoMultiLineString, ColumnListGeoMultiPoint, ColumnListGeoMultiPolygon, ColumnListGeoPoint, ColumnListGeoPolygon, ColumnListInt16, ColumnListInt32, ColumnListInt64, ColumnListInt8, ColumnListTextEncodingDict, ColumnListTextEncodingNone, ColumnTextEncodingDict, ColumnTextEncodingNone, ColumnTimestamp, Cursor, Double, Float, Int16, Int32, Int64, Int8, PBool, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, and Void.
|
inlinestaticprivate |
Definition at line 268 of file ExtensionFunction.java.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, ArrayInt8, ArrayTextEncodingDict, ArrayTextEncodingNone, Bool, ColumnArrayBool, ColumnArrayDouble, ColumnArrayFloat, ColumnArrayInt16, ColumnArrayInt32, ColumnArrayInt64, ColumnArrayInt8, ColumnArrayTextEncodingDict, ColumnArrayTextEncodingNone, ColumnBool, ColumnDouble, ColumnFloat, ColumnGeoLineString, ColumnGeoMultiLineString, ColumnGeoMultiPoint, ColumnGeoMultiPolygon, ColumnGeoPoint, ColumnGeoPolygon, ColumnInt16, ColumnInt32, ColumnInt64, ColumnInt8, ColumnListArrayBool, ColumnListArrayDouble, ColumnListArrayFloat, ColumnListArrayInt16, ColumnListArrayInt32, ColumnListArrayInt64, ColumnListArrayInt8, ColumnListArrayTextEncodingDict, ColumnListArrayTextEncodingNone, ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListGeoLineString, ColumnListGeoMultiLineString, ColumnListGeoMultiPoint, ColumnListGeoMultiPolygon, ColumnListGeoPoint, ColumnListGeoPolygon, ColumnListInt16, ColumnListInt32, ColumnListInt64, ColumnListInt8, ColumnListTextEncodingDict, ColumnListTextEncodingNone, ColumnTextEncodingDict, ColumnTextEncodingNone, ColumnTimestamp, Cursor, Double, Float, Int16, Int32, Int64, Int8, PBool, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, and Void.
Referenced by com.mapd.parser.server.ExtensionFunction.toJson().
|
private |
Definition at line 455 of file ExtensionFunction.java.
Referenced by TableFunctionsFactory_node.UdtfNode.__iter__(), TableFunctionsFactory_node.ArgNode.__iter__(), TableFunctionsFactory_declbracket.Declaration.__repr__(), TableFunctionsFactory_declbracket.Declaration.__str__(), TableFunctionsFactory_declbracket.Declaration.apply_column(), TableFunctionsFactory_declbracket.Declaration.apply_namespace(), com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), TableFunctionsFactory_declbracket.Declaration.format_cpp_type(), TableFunctionsFactory_node.ArgNode.get_annotation(), heavydb.extension_functions.ttypes.TUserDefinedFunction.read(), heavydb.extension_functions.ttypes.TUserDefinedTableFunction.read(), TableFunctionsFactory_node.ArgNode.set_annotation(), com.mapd.parser.server.CalciteServerHandler.toExtensionFunction(), com.mapd.parser.server.ExtensionFunction.toJson(), heavydb.extension_functions.ttypes.TUserDefinedFunction.write(), and heavydb.extension_functions.ttypes.TUserDefinedTableFunction.write().
|
private |
Definition at line 450 of file ExtensionFunction.java.
Referenced by TableFunctionsFactory_declbracket.Bracket.__repr__(), TableFunctionsFactory_declbracket.Bracket.__str__(), TableFunctionsFactory_declbracket.Bracket.apply_namespace(), com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), TableFunctionsFactory_declbracket.Bracket.format_sizer(), TableFunctionsFactory_declbracket.Bracket.normalize(), com.mapd.parser.server.ExtensionFunction.toJson(), and TableFunctionsFactory_declbracket.Bracket.tostring().
|
private |
Definition at line 458 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction().
|
private |
Definition at line 459 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction().
|
staticpackage |
Definition at line 38 of file ExtensionFunction.java.
|
private |
Definition at line 454 of file ExtensionFunction.java.
|
private |
Definition at line 452 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), com.mapd.parser.server.ExtensionFunction.getArgNames(), com.mapd.parser.server.ExtensionFunction.getOutNames(), and com.mapd.parser.server.ExtensionFunction.getPrettyArgNames().
|
private |
Definition at line 456 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), and com.mapd.parser.server.ExtensionFunction.getOptions().
|
private |
Definition at line 451 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), and com.mapd.parser.server.ExtensionFunction.toJson().
|
private |
Definition at line 453 of file ExtensionFunction.java.
Referenced by com.mapd.parser.server.ExtensionFunction.ExtensionFunction(), com.mapd.parser.server.ExtensionFunction.getSqlRet(), and com.mapd.parser.server.ExtensionFunction.toJson().