OmniSciDB
a5dc49c757
|
Classes | |
class | DataType |
Functions | |
def | DateFromTicks |
def | TimeFromTicks |
def | TimestampFromTicks |
Variables | |
T = TDatumType | |
Binary = memoryview | |
Date = datetime.date | |
Time = datetime.time | |
Timestamp = datetime.datetime | |
tuple | BINARY = DataType([]) |
tuple | STRING |
tuple | NUMBER |
tuple | DATETIME = DataType([T.DATE, T.TIME, T.TIMESTAMP]) |
tuple | ROWID = DataType([]) |
https://www.python.org/dev/peps/pep-0249/#type-objects
def heavydb.dtypes.DateFromTicks | ( | ticks | ) |
Definition at line 60 of file dtypes.py.
References heavydb.dtypes.Date.
def heavydb.dtypes.TimeFromTicks | ( | ticks | ) |
Definition at line 64 of file dtypes.py.
References heavydb.dtypes.Time.
def heavydb.dtypes.TimestampFromTicks | ( | ticks | ) |
Definition at line 68 of file dtypes.py.
heavydb.dtypes.Date = datetime.date |
Definition at line 26 of file dtypes.py.
Referenced by ai.heavy.jdbc.HeavyAIStatementTest.create_types(), heavydb.dtypes.DateFromTicks(), ai.heavy.jdbc.HeavyAIStatementTest.escape_function1(), ai.heavy.jdbc.HeavyAIStatementTest.escape_function3(), ai.heavy.jdbc.HeavyAIResultSet.getArray(), ai.heavy.jdbc.HeavyAIResultSet.getDate(), ai.heavy.jdbc.HeavyAIArray.getResultSet(), com.mapd.tests.ForeignTableRefreshConcurrencyTest.getTimeStamp(), and com.mapd.utility.SQLImporter.setColValue().
tuple heavydb.dtypes.DATETIME = DataType([T.DATE, T.TIME, T.TIMESTAMP]) |
tuple heavydb.dtypes.NUMBER |
tuple heavydb.dtypes.STRING |
Definition at line 31 of file dtypes.py.
Referenced by import_export::TypedImportBuffer.add_arrow_values(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Base64Decode.Base64Decode(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Base64Encode.Base64Encode(), getOmnisciType(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgILike.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SplitPart.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Replace.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Reverse.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpReplace.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpSubstr.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpCount.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Base64Encode.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Base64Decode.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.UrlEncode.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.UrlDecode.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.JarowinklerSimilarity.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.LevenshteinDistance.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Hash.getSignatureFamilies(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.JarowinklerSimilarity.JarowinklerSimilarity(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.LevenshteinDistance.LevenshteinDistance(), ArrowForeignStorageBase.parseArrowTable(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpCount.RegexpCount(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpReplace.RegexpReplace(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpSubstr.RegexpSubstr(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.Repeat(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Replace.Replace(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Reverse.Reverse(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SplitPart.SplitPart(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.UrlDecode.UrlDecode(), com.mapd.calcite.parser.HeavyDBSqlOperatorTable.UrlEncode.UrlEncode(), and anonymous_namespace{ArrowImporter.h}.value_getter().
heavydb.dtypes.T = TDatumType |
Definition at line 8 of file dtypes.py.
Referenced by align_to(), align_to_int64(), SysAllocator< void >.allocate(), heavyai::allocator::detail::FastAllocator< T >.allocate(), NoneEncoder< T >.appendEncodedData(), NoneEncoder< T >.appendEncodedDataAtIndices(), DateDaysEncoder< T, V >.appendEncodedOrUnencodedData(), FixedLengthEncoder< T, V >.appendEncodedOrUnencodedData(), NoneEncoder< T >.appendValidatedOrNonValidatedData(), anonymous_namespace{WindowContext.cpp}.apply_window_pending_outputs_int(), Array< T >.Array(), arrow_throw_if(), bind_function(), shared.bswap_impl(), anonymous_namespace{ResultSetIteration.cpp}.build_array_target_value(), GeoRaster< T, Z >.calculate_bins_and_scales(), column_list_safe_row_sum__cpu_template(), compute_table_function_col_chunk_stats(), Contains_Polygon_Point_Impl(), foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >.convert(), QueryExecutionContext.copyFlattened2dVecToDevice(), QueryExecutionContext.copyValueToDevice(), QueryExecutionContext.copyVectorToDevice(), count_matches_baseline(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}.create_parquet_date_from_timestamp_encoder_with_types(), ArrowForeignStorageBase.createDecimalColumn(), ct_named_const_output__cpu_template(), ct_named_output__cpu_template(), ct_overload_column_list_test2__cpu_template(), ct_overload_column_list_test__cpu_template(), ct_scalar_1_arg_runtime_sizing__cpu_template(), anonymous_namespace{ExternalExecutor.cpp}.decode_string(), RelAlgVisitor< std::vector< unsigned > >.defaultResult(), RexVisitor< T >.defaultResult(), ScalarExprVisitor< std::set< shared::TableKey > >.defaultResult(), foreign_storage.encode_as_array_datum(), foreign_storage::ParquetDecimalEncoder< V, T, NullType >.encodeAndCopy(), foreign_storage::ParquetTimeEncoder< V, T, conversion_denominator, NullType >.encodeAndCopy(), foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >.encodeAndCopy(), foreign_storage::ParquetFixedLengthEncoder< V, T, NullType >.encodeAndCopy(), foreign_storage::ParquetUnsignedFixedLengthEncoder< V, T, U, NullType >.encodeAndCopy(), foreign_storage::TypedParquetInPlaceEncoder< V, V >.encodeAndCopyContiguous(), DateDaysEncoder< T, V >.encodeDataAndUpdateStats(), FixedLengthEncoder< T, V >.encodeDataAndUpdateStats(), Intervals< T, U >.end(), Analyzer::anonymous_namespace{Analyzer.cpp}.expr_is(), fill_baseline_hash_join_buff(), fill_baseline_hash_join_buff_wrapper(), fill_missing_value(), fill_row_ids_baseline(), anonymous_namespace{WindowContext.cpp}::FindNullRange.find_null_range_int(), Analyzer::anonymous_namespace{Analyzer.cpp}.floatFromDecimal(), anonymous_namespace{WindowContext.cpp}.fp_comparator_asc(), anonymous_namespace{WindowContext.cpp}.fp_comparator_desc(), anonymous_namespace{DateTimeParser.cpp}.fromChars(), anonymous_namespace{QueryMemoryDescriptor.cpp}.get_col_byte_widths(), get_column_mean(), get_column_metadata(), get_column_min_max(), get_column_stats(), get_column_std_dev(), get_composite_key_index_impl(), anonymous_namespace{ResultSetSortImpl.cu}.get_device_copy_ptr(), get_fixed_array_null_value(), get_matching_baseline_hash_slot_at(), get_matching_group_value(), get_matching_group_value_columnar_slot(), anonymous_namespace{ResultSetReduction.cpp}.get_matching_group_value_reduction(), get_matching_slot(), data_conversion::anonymous_namespace{StringViewSource.h}.get_materialized_string_views(), TableFunctionManager.get_metadata(), json_utils.get_value(), json_utils.get_value_from_object(), GeoRaster< T, Z >.get_xy_coords_for_bin_idx(), SqliteConnector.getData(), DataBufferCache.getDataPtrForKey(), DataBufferCache.getDataRefForKey(), anonymous_namespace{DBETypes.cpp}.getFieldValue(), HashJoin.getHashJoinColumn(), StringDictionaryProxy.getLike(), foreign_storage::TypedParquetInPlaceEncoder< V, V >.getUnencodedStats(), hash_value(), init_baseline_hash_join_buff(), init_baseline_hash_join_buff_wrapper(), anonymous_namespace{QueryMemoryInitializer.cpp}.initColumnarBuffer(), anonymous_namespace{TableFunctionCompilationContext.cpp}.initialize_int_member(), inline_fp_null_array_value(), inline_fp_null_value(), anonymous_namespace{HashTable.cpp}.inner_to_string(), anonymous_namespace{RelAlgExecutor.cpp}.insert_one_dict_str(), lockmgr.instance(), anonymous_namespace{WindowContext.cpp}.integer_comparator_asc(), anonymous_namespace{WindowContext.cpp}.integer_comparator_desc(), keys_are_equal(), RelRexDagVisitor.make_handlers(), Mandelbrot.mandelbrot_cpu_template(), Mandelbrot.mandelbrot_impl(), Mandelbrot.mandelbrot_pixel(), anonymous_namespace{Datum.cpp}.minValue(), ml_reg_predict_impl(), operator&(), Intervals< T, U >::Iterator.operator*(), Column< T >.operator=(), ColumnList< T >.operator[](), operator|(), operator~(), anonymous_namespace{Datum.cpp}.parseFloatAsInteger(), anonymous_namespace{Datum.cpp}.parseInteger(), point_in_polygon_winding_number(), anonymous_namespace{misc.h}.power(), DataBufferCache.putDataForKey(), random_forest_reg_fit_impl(), DateDaysEncoder< T, V >.readMetadata(), NoneEncoder< T >.readMetadata(), FixedLengthEncoder< T, V >.readMetadata(), ArrowForeignStorageBase.replaceNullValuesImpl(), Analyzer::anonymous_namespace{Analyzer.cpp}.roundDecimal(), serialized_null_value(), Fragmenter_Namespace.set_chunk_stats(), quantile::detail::anonymous_namespace{quantile.h}::Skipped< RealType, IndexType >.shiftRange(), Fragmenter_Namespace.shuffleByIndexesImpl(), QueryExecutionContext.sizeofFlattened2dVec(), QueryExecutionContext.sizeofVector(), sum_along_row__cpu_template(), anonymous_namespace{StringDictionary.cpp}.throw_encoding_error(), anonymous_namespace{HashTable.cpp}::keyed_hash.to_set_one_to_many(), anonymous_namespace{HashTable.cpp}::keyed_hash.to_set_one_to_one(), toString(), anonymous_namespace{HashJoin.cpp}.toStringFlat(), transfer_flat_object_to_gpu(), transfer_vector_of_flat_objects_to_gpu(), import_export.try_cast(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst02_heavyDB_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst03_heavyDB_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst04_heavyDB_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst05_user_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst06_user_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst07_user_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst08_user_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst09_user_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst10_heavyDB_table(), ai.heavy.jdbc.HeavyAIDatabaseMetaDataTest.tst11_user2_table(), typeName(), Geospatial.unpack_geo_vector(), DateDaysEncoder< T, V >.updateStats(), FixedLengthEncoder< T, V >.updateStats(), NoneEncoder< T >.updateStats(), NoneEncoder< T >.updateStatsEncoded(), DateDaysEncoder< T, V >.updateStatsWithAlreadyEncoded(), foreign_storage::ParquetDecimalEncoder< V, T, NullType >.validate(), foreign_storage::ParquetDateInDaysFromTimestampEncoder< V, T, conversion_denominator, NullType >.validate(), foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >.validate(), foreign_storage::ParquetFixedLengthEncoder< V, T, NullType >.validate(), foreign_storage::ParquetUnsignedFixedLengthEncoder< V, T, U, NullType >.validate(), ScalarExprVisitor< std::set< shared::TableKey > >.visitAggExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitArrayOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitBinOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitCardinality(), RexVisitor< T >.visitCase(), ScalarExprVisitor< std::set< shared::TableKey > >.visitCaseExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitCharLength(), ScalarExprVisitor< std::set< shared::TableKey > >.visitDateaddExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitDatediffExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitDatetruncExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitExtractExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitFunctionOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitGeoBinOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitGeoExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitGeoUOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitInValues(), ScalarExprVisitor< std::set< shared::TableKey > >.visitKeyForString(), ScalarExprVisitor< std::set< shared::TableKey > >.visitLikeExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitMLPredict(), RexVisitor< T >.visitOperator(), ScalarExprVisitor< std::set< shared::TableKey > >.visitPCAProject(), ScalarExprVisitor< std::set< shared::TableKey > >.visitRangeJoinOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitRegexpExpr(), ScalarExprVisitor< std::set< shared::TableKey > >.visitSampleRatio(), ScalarExprVisitor< std::set< shared::TableKey > >.visitStringOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitUOper(), ScalarExprVisitor< std::set< shared::TableKey > >.visitWidthBucket(), ScalarExprVisitor< std::set< shared::TableKey > >.visitWindowFunction(), RexVisitor< T >.visitWindowFunctionOperator(), write_baseline_hash_slot(), write_baseline_hash_slot_for_semi_join(), DateDaysEncoder< T, V >.writeMetadata(), NoneEncoder< T >.writeMetadata(), and FixedLengthEncoder< T, V >.writeMetadata().
heavydb.dtypes.Time = datetime.time |
Definition at line 27 of file dtypes.py.
Referenced by ai.heavy.jdbc.HeavyAIStatementTest.create_types(), ai.heavy.jdbc.HeavyAIStatementTest.escape_function1(), ai.heavy.jdbc.HeavyAIResultSet.getArray(), ai.heavy.jdbc.HeavyAIArray.getResultSet(), ai.heavy.jdbc.HeavyAIResultSet.getTime(), com.mapd.utility.SQLImporter.setColValue(), and heavydb.dtypes.TimeFromTicks().