Skip to content

Instantly share code, notes, and snippets.

@fsaintjacques
Created November 21, 2019 13:23
Show Gist options
  • Save fsaintjacques/18720eebd9de3bb7770586ed8ec0ef6f to your computer and use it in GitHub Desktop.
Save fsaintjacques/18720eebd9de3bb7770586ed8ec0ef6f to your computer and use it in GitHub Desktop.
Arrow type aliases
$ ag "^using [a-zA-Z]+(Ptr|Vector|Iterator)" cpp/src [31/1853]
cpp/src/gandiva/function_holder.h
33:using FunctionHolderPtr = std::shared_ptr<FunctionHolder>;
cpp/src/gandiva/arrow.h
33:using ArrayPtr = std::shared_ptr<arrow::Array>;
35:using DataTypePtr = std::shared_ptr<arrow::DataType>;
36:using DataTypeVector = std::vector<DataTypePtr>;
41:using FieldPtr = std::shared_ptr<arrow::Field>;
42:using FieldVector = std::vector<FieldPtr>;
44:using RecordBatchPtr = std::shared_ptr<arrow::RecordBatch>;
46:using SchemaPtr = std::shared_ptr<arrow::Schema>;
48:using ArrayDataPtr = std::shared_ptr<arrow::ArrayData>;
49:using ArrayDataVector = std::vector<ArrayDataPtr>;
cpp/src/gandiva/selection_vector_impl.h
102:using SelectionVectorInt16 =
104:using SelectionVectorInt32 =
106:using SelectionVectorInt64 =
cpp/src/gandiva/gandiva_aliases.h
29:using DexPtr = std::shared_ptr<Dex>;
30:using DexVector = std::vector<std::shared_ptr<Dex>>;
33:using ValueValidityPairPtr = std::shared_ptr<ValueValidityPair>;
34:using ValueValidityPairVector = std::vector<ValueValidityPairPtr>;
37:using FieldDescriptorPtr = std::shared_ptr<FieldDescriptor>;
40:using FuncDescriptorPtr = std::shared_ptr<FuncDescriptor>;
43:using LValuePtr = std::shared_ptr<LValue>;
46:using ExpressionPtr = std::shared_ptr<Expression>;
47:using ExpressionVector = std::vector<ExpressionPtr>;
50:using ConditionPtr = std::shared_ptr<Condition>;
53:using NodePtr = std::shared_ptr<Node>;
54:using NodeVector = std::vector<std::shared_ptr<Node>>;
57:using EvalBatchPtr = std::shared_ptr<EvalBatch>;
60:using FuncSignaturePtr = std::shared_ptr<FunctionSignature>;
61:using FuncSignatureVector = std::vector<FuncSignaturePtr>;
cpp/src/arrow/flight/test_util.h
130:using BatchVector = std::vector<std::shared_ptr<RecordBatch>>;
cpp/src/arrow/flight/perf_server.cc
56:using ArrayVector = std::vector<std::shared_ptr<Array>>;
cpp/src/arrow/io/memory_benchmark.cc
41:using BufferPtr = std::shared_ptr<Buffer>;
cpp/src/arrow/type_fwd.h
47:using RecordBatchIterator = Iterator<std::shared_ptr<RecordBatch>>;
cpp/src/arrow/dataset/type_fwd.h
37:using FileSystemPtr = std::shared_ptr<FileSystem>;
40:using FileStatsVector = std::vector<FileStats>;
47:using DatasetPtr = std::shared_ptr<Dataset>;
50:using DataFragmentPtr = std::shared_ptr<DataFragment>;
51:using DataFragmentIterator = Iterator<DataFragmentPtr>;
52:using DataFragmentVector = std::vector<DataFragmentPtr>;
55:using DataSourcePtr = std::shared_ptr<DataSource>;
56:using DataSourceVector = std::vector<DataSourcePtr>;
60:using DataSourceDiscoveryPtr = std::shared_ptr<DataSourceDiscovery>;
63:using FileFormatPtr = std::shared_ptr<FileFormat>;
66:using ExpressionPtr = std::shared_ptr<Expression>;
67:using ExpressionVector = std::vector<ExpressionPtr>;
81:using PartitionPtr = std::shared_ptr<Partition>;
82:using PartitionVector = std::vector<PartitionPtr>;
83:using PartitionIterator = Iterator<PartitionPtr>;
86:using PartitionSchemePtr = std::shared_ptr<PartitionScheme>;
89:using ScanContextPtr = std::shared_ptr<ScanContext>;
92:using ScanOptionsPtr = std::shared_ptr<ScanOptions>;
95:using ScannerPtr = std::shared_ptr<Scanner>;
98:using ScannerBuilderPtr = std::shared_ptr<ScannerBuilder>;
101:using ScanTaskPtr = std::shared_ptr<ScanTask>;
102:using ScanTaskVector = std::vector<ScanTaskPtr>;
103:using ScanTaskIterator = Iterator<ScanTaskPtr>;
cpp/src/arrow/array.h
410:using ArrayVector = std::vector<std::shared_ptr<Array>>;
cpp/src/arrow/testing/gtest_util.h
169:using ArrayVector = std::vector<std::shared_ptr<Array>>;
cpp/src/arrow/testing/util.h
48:using ArrayVector = std::vector<std::shared_ptr<Array>>;
cpp/src/arrow/buffer.h
217:using BufferVector = std::vector<std::shared_ptr<Buffer>>;
cpp/src/arrow/array_test.cc
1867:using DecimalVector = std::vector<Decimal128>;
cpp/src/arrow/buffer_test.cc
394:using BufferPtrs =
cpp/src/arrow/ipc/read_write_test.cc
61:using BatchVector = std::vector<std::shared_ptr<RecordBatch>>;
cpp/src/arrow/ipc/metadata_internal.cc
64:using KVVector = flatbuffers::Vector<KeyValueOffset>;
858:using FieldNodeVector =
860:using BufferVector = flatbuffers::Offset<flatbuffers::Vector<const flatbuf::Buffer*>>;
cpp/src/arrow/compute/type_fwd.h
31:using ArrowTypePtr = std::shared_ptr<::arrow::DataType>;
32:using ExprPtr = std::shared_ptr<Expr>;
33:using ConstOpPtr = std::shared_ptr<const Operation>;
34:using OpPtr = std::shared_ptr<Operation>;
35:using LogicalTypePtr = std::shared_ptr<LogicalType>;
cpp/src/parquet/encoding.cc
47:using ArrowPoolVector = std::vector<T, ::arrow::stl::allocator<T>>;
cpp/src/parquet/arrow/reader_internal.h
99:using FileColumnIteratorFactory =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment