@girs/arrow-1.0 7.0.0-3.2.6 → 7.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/arrow-1.0.d.cts +64 -64
- package/arrow-1.0.d.ts +64 -64
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Arrow-1.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Arrow-1.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/arrow-1.0.d.cts
CHANGED
|
@@ -560,7 +560,7 @@ export const VERSION_MINOR: number
|
|
|
560
560
|
* The version tag. Normally, it's an empty string. It's "SNAPSHOT"
|
|
561
561
|
* for snapshot version.
|
|
562
562
|
*/
|
|
563
|
-
export const VERSION_TAG: string
|
|
563
|
+
export const VERSION_TAG: string
|
|
564
564
|
export function error_quark(): GLib.Quark
|
|
565
565
|
/**
|
|
566
566
|
* Finalize the S3 APIs.
|
|
@@ -854,8 +854,8 @@ export class Aggregation extends GObject.Object {
|
|
|
854
854
|
// Constructors of Arrow-1.0.Arrow.Aggregation
|
|
855
855
|
|
|
856
856
|
constructor(config?: Aggregation.ConstructorProperties)
|
|
857
|
-
constructor(function_: string
|
|
858
|
-
static new(function_: string
|
|
857
|
+
constructor(function_: string, options: FunctionOptions | null, input: string, output: string)
|
|
858
|
+
static new(function_: string, options: FunctionOptions | null, input: string, output: string): Aggregation
|
|
859
859
|
_init(config?: Aggregation.ConstructorProperties): void
|
|
860
860
|
}
|
|
861
861
|
|
|
@@ -1804,7 +1804,7 @@ export interface Buffer {
|
|
|
1804
1804
|
* @param key name of the key for that association
|
|
1805
1805
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1806
1806
|
*/
|
|
1807
|
-
get_data(key: string
|
|
1807
|
+
get_data(key: string): any | null
|
|
1808
1808
|
get_mutable_data(): GLib.Bytes | null
|
|
1809
1809
|
get_parent(): Buffer | null
|
|
1810
1810
|
get_size(): number
|
|
@@ -2285,21 +2285,21 @@ export interface CSVReadOptions {
|
|
|
2285
2285
|
|
|
2286
2286
|
// Owm methods of Arrow-1.0.Arrow.CSVReadOptions
|
|
2287
2287
|
|
|
2288
|
-
add_column_name(column_name: string
|
|
2288
|
+
add_column_name(column_name: string): void
|
|
2289
2289
|
/**
|
|
2290
2290
|
* Add value type of a column.
|
|
2291
2291
|
* @param name The name of the target column.
|
|
2292
2292
|
* @param data_type The #GArrowDataType for the column.
|
|
2293
2293
|
*/
|
|
2294
|
-
add_column_type(name: string
|
|
2295
|
-
add_false_value(false_value: string
|
|
2296
|
-
add_null_value(null_value: string
|
|
2294
|
+
add_column_type(name: string, data_type: DataType): void
|
|
2295
|
+
add_false_value(false_value: string): void
|
|
2296
|
+
add_null_value(null_value: string): void
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Add value types for columns in the schema.
|
|
2299
2299
|
* @param schema The #GArrowSchema that specifies columns and their types.
|
|
2300
2300
|
*/
|
|
2301
2301
|
add_schema(schema: Schema): void
|
|
2302
|
-
add_true_value(true_value: string
|
|
2302
|
+
add_true_value(true_value: string): void
|
|
2303
2303
|
get_column_names(): string[] | null
|
|
2304
2304
|
get_column_types(): GLib.HashTable
|
|
2305
2305
|
get_false_values(): string[] | null
|
|
@@ -2468,8 +2468,8 @@ export class CallExpression extends Expression {
|
|
|
2468
2468
|
// Constructors of Arrow-1.0.Arrow.CallExpression
|
|
2469
2469
|
|
|
2470
2470
|
constructor(config?: CallExpression.ConstructorProperties)
|
|
2471
|
-
constructor(function_: string
|
|
2472
|
-
static new(function_: string
|
|
2471
|
+
constructor(function_: string, arguments_: Expression[], options: FunctionOptions | null)
|
|
2472
|
+
static new(function_: string, arguments_: Expression[], options: FunctionOptions | null): CallExpression
|
|
2473
2473
|
_init(config?: CallExpression.ConstructorProperties): void
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
@@ -2800,7 +2800,7 @@ export interface Codec {
|
|
|
2800
2800
|
|
|
2801
2801
|
get_compression_level(): number
|
|
2802
2802
|
get_compression_type(): CompressionType
|
|
2803
|
-
get_name(): string
|
|
2803
|
+
get_name(): string
|
|
2804
2804
|
|
|
2805
2805
|
// Class property signals of Arrow-1.0.Arrow.Codec
|
|
2806
2806
|
|
|
@@ -3715,7 +3715,7 @@ export class Decimal128 extends GObject.Object {
|
|
|
3715
3715
|
|
|
3716
3716
|
constructor(config?: Decimal128.ConstructorProperties)
|
|
3717
3717
|
static new_integer(data: number): Decimal128
|
|
3718
|
-
static new_string(data: string
|
|
3718
|
+
static new_string(data: string): Decimal128
|
|
3719
3719
|
_init(config?: Decimal128.ConstructorProperties): void
|
|
3720
3720
|
}
|
|
3721
3721
|
|
|
@@ -4037,7 +4037,7 @@ export class Decimal256 extends GObject.Object {
|
|
|
4037
4037
|
|
|
4038
4038
|
constructor(config?: Decimal256.ConstructorProperties)
|
|
4039
4039
|
static new_integer(data: number): Decimal256
|
|
4040
|
-
static new_string(data: string
|
|
4040
|
+
static new_string(data: string): Decimal256
|
|
4041
4041
|
_init(config?: Decimal256.ConstructorProperties): void
|
|
4042
4042
|
}
|
|
4043
4043
|
|
|
@@ -4993,7 +4993,7 @@ export interface ExecuteNode {
|
|
|
4993
4993
|
|
|
4994
4994
|
// Owm methods of Arrow-1.0.Arrow.ExecuteNode
|
|
4995
4995
|
|
|
4996
|
-
get_kind_name(): string
|
|
4996
|
+
get_kind_name(): string
|
|
4997
4997
|
get_output_schema(): Schema
|
|
4998
4998
|
|
|
4999
4999
|
// Class property signals of Arrow-1.0.Arrow.ExecuteNode
|
|
@@ -5109,7 +5109,7 @@ export interface ExecutePlan {
|
|
|
5109
5109
|
* @returns A newly built and added #GArrowExecuteNode for hash join on success, %NULL on error.
|
|
5110
5110
|
*/
|
|
5111
5111
|
build_hash_join_node(left: ExecuteNode, right: ExecuteNode, options: HashJoinNodeOptions): ExecuteNode
|
|
5112
|
-
build_node(factory_name: string
|
|
5112
|
+
build_node(factory_name: string, inputs: ExecuteNode[], options: ExecuteNodeOptions): ExecuteNode
|
|
5113
5113
|
/**
|
|
5114
5114
|
* This is a shortcut of garrow_execute_plan_build_node() for sink
|
|
5115
5115
|
* node.
|
|
@@ -5366,7 +5366,7 @@ export interface ExtensionDataTypeRegistry {
|
|
|
5366
5366
|
|
|
5367
5367
|
// Owm methods of Arrow-1.0.Arrow.ExtensionDataTypeRegistry
|
|
5368
5368
|
|
|
5369
|
-
lookup(name: string
|
|
5369
|
+
lookup(name: string): ExtensionDataType
|
|
5370
5370
|
/**
|
|
5371
5371
|
* Register the given `data_type` to the `registry`.
|
|
5372
5372
|
* @param data_type A #GArrowExtensionDataType to be registered.
|
|
@@ -5379,7 +5379,7 @@ export interface ExtensionDataTypeRegistry {
|
|
|
5379
5379
|
* @param name An extension data type name to be unregistered.
|
|
5380
5380
|
* @returns %TRUE on success, %FALSE on error.
|
|
5381
5381
|
*/
|
|
5382
|
-
unregister(name: string
|
|
5382
|
+
unregister(name: string): boolean
|
|
5383
5383
|
|
|
5384
5384
|
// Class property signals of Arrow-1.0.Arrow.ExtensionDataTypeRegistry
|
|
5385
5385
|
|
|
@@ -5608,7 +5608,7 @@ export interface Field {
|
|
|
5608
5608
|
export(): any | null
|
|
5609
5609
|
get_data_type(): DataType
|
|
5610
5610
|
get_metadata(): GLib.HashTable | null
|
|
5611
|
-
get_name(): string
|
|
5611
|
+
get_name(): string
|
|
5612
5612
|
has_metadata(): boolean
|
|
5613
5613
|
is_nullable(): boolean
|
|
5614
5614
|
remove_metadata(): Field
|
|
@@ -5641,9 +5641,9 @@ export class Field extends GObject.Object {
|
|
|
5641
5641
|
// Constructors of Arrow-1.0.Arrow.Field
|
|
5642
5642
|
|
|
5643
5643
|
constructor(config?: Field.ConstructorProperties)
|
|
5644
|
-
constructor(name: string
|
|
5645
|
-
static new(name: string
|
|
5646
|
-
static new_full(name: string
|
|
5644
|
+
constructor(name: string, data_type: DataType)
|
|
5645
|
+
static new(name: string, data_type: DataType): Field
|
|
5646
|
+
static new_full(name: string, data_type: DataType, nullable: boolean): Field
|
|
5647
5647
|
_init(config?: Field.ConstructorProperties): void
|
|
5648
5648
|
static import(c_abi_schema: any): Field | null
|
|
5649
5649
|
}
|
|
@@ -5681,8 +5681,8 @@ export class FieldExpression extends Expression {
|
|
|
5681
5681
|
// Constructors of Arrow-1.0.Arrow.FieldExpression
|
|
5682
5682
|
|
|
5683
5683
|
constructor(config?: FieldExpression.ConstructorProperties)
|
|
5684
|
-
constructor(reference: string
|
|
5685
|
-
static new(reference: string
|
|
5684
|
+
constructor(reference: string)
|
|
5685
|
+
static new(reference: string): FieldExpression
|
|
5686
5686
|
_init(config?: FieldExpression.ConstructorProperties): void
|
|
5687
5687
|
}
|
|
5688
5688
|
|
|
@@ -5941,8 +5941,8 @@ export class FileInputStream extends SeekableInputStream {
|
|
|
5941
5941
|
// Constructors of Arrow-1.0.Arrow.FileInputStream
|
|
5942
5942
|
|
|
5943
5943
|
constructor(config?: FileInputStream.ConstructorProperties)
|
|
5944
|
-
constructor(path: string
|
|
5945
|
-
static new(path: string
|
|
5944
|
+
constructor(path: string)
|
|
5945
|
+
static new(path: string): FileInputStream
|
|
5946
5946
|
static new_file_descriptor(file_descriptor: number): FileInputStream
|
|
5947
5947
|
_init(config?: FileInputStream.ConstructorProperties): void
|
|
5948
5948
|
}
|
|
@@ -5983,8 +5983,8 @@ export class FileOutputStream extends OutputStream {
|
|
|
5983
5983
|
// Constructors of Arrow-1.0.Arrow.FileOutputStream
|
|
5984
5984
|
|
|
5985
5985
|
constructor(config?: FileOutputStream.ConstructorProperties)
|
|
5986
|
-
constructor(path: string
|
|
5987
|
-
static new(path: string
|
|
5986
|
+
constructor(path: string, append: boolean)
|
|
5987
|
+
static new(path: string, append: boolean): FileOutputStream
|
|
5988
5988
|
_init(config?: FileOutputStream.ConstructorProperties): void
|
|
5989
5989
|
}
|
|
5990
5990
|
|
|
@@ -6145,7 +6145,7 @@ export interface FileSystem {
|
|
|
6145
6145
|
* @param dest The path of the destination.
|
|
6146
6146
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6147
6147
|
*/
|
|
6148
|
-
copy_file(src: string
|
|
6148
|
+
copy_file(src: string, dest: string): boolean
|
|
6149
6149
|
/**
|
|
6150
6150
|
* Create a directory and subdirectories.
|
|
6151
6151
|
* This function succeeds if the directory already exists.
|
|
@@ -6153,13 +6153,13 @@ export interface FileSystem {
|
|
|
6153
6153
|
* @param recursive Whether creating directory recursively or not.
|
|
6154
6154
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6155
6155
|
*/
|
|
6156
|
-
create_dir(path: string
|
|
6156
|
+
create_dir(path: string, recursive: boolean): boolean
|
|
6157
6157
|
/**
|
|
6158
6158
|
* Delete a directory and its contents, recursively.
|
|
6159
6159
|
* @param path The paths of the directory.
|
|
6160
6160
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6161
6161
|
*/
|
|
6162
|
-
delete_dir(path: string
|
|
6162
|
+
delete_dir(path: string): boolean
|
|
6163
6163
|
/**
|
|
6164
6164
|
* Delete a directory's contents, recursively. Like
|
|
6165
6165
|
* garrow_file_system_delete_dir(), but doesn't delete the directory
|
|
@@ -6168,13 +6168,13 @@ export interface FileSystem {
|
|
|
6168
6168
|
* @param path The paths of the directory.
|
|
6169
6169
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6170
6170
|
*/
|
|
6171
|
-
delete_dir_contents(path: string
|
|
6171
|
+
delete_dir_contents(path: string): boolean
|
|
6172
6172
|
/**
|
|
6173
6173
|
* Delete a file.
|
|
6174
6174
|
* @param path The paths of the file to be delete.
|
|
6175
6175
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6176
6176
|
*/
|
|
6177
|
-
delete_file(path: string
|
|
6177
|
+
delete_file(path: string): boolean
|
|
6178
6178
|
/**
|
|
6179
6179
|
* Delete many files.
|
|
6180
6180
|
* @param paths The paths of the files to be delete.
|
|
@@ -6192,7 +6192,7 @@ export interface FileSystem {
|
|
|
6192
6192
|
* @param path The path of the target.
|
|
6193
6193
|
* @returns A #GArrowFileInfo.
|
|
6194
6194
|
*/
|
|
6195
|
-
get_file_info(path: string
|
|
6195
|
+
get_file_info(path: string): FileInfo | null
|
|
6196
6196
|
/**
|
|
6197
6197
|
* Get information same as garrow_file_system_get_file_info()
|
|
6198
6198
|
* for the given many targets at once.
|
|
@@ -6221,33 +6221,33 @@ export interface FileSystem {
|
|
|
6221
6221
|
* @param dest The path of the destination.
|
|
6222
6222
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6223
6223
|
*/
|
|
6224
|
-
move(src: string
|
|
6224
|
+
move(src: string, dest: string): boolean
|
|
6225
6225
|
/**
|
|
6226
6226
|
* Open an output stream for appending.
|
|
6227
6227
|
* If the target doesn't exist, a new empty file is created.
|
|
6228
6228
|
* @param path The path of the output stream.
|
|
6229
6229
|
* @returns A newly created #GArrowOutputStream for appending.
|
|
6230
6230
|
*/
|
|
6231
|
-
open_append_stream(path: string
|
|
6231
|
+
open_append_stream(path: string): OutputStream | null
|
|
6232
6232
|
/**
|
|
6233
6233
|
* Open an input file for random access reading.
|
|
6234
6234
|
* @param path The path of the input file.
|
|
6235
6235
|
* @returns A newly created #GArrowSeekableInputStream.
|
|
6236
6236
|
*/
|
|
6237
|
-
open_input_file(path: string
|
|
6237
|
+
open_input_file(path: string): SeekableInputStream | null
|
|
6238
6238
|
/**
|
|
6239
6239
|
* Open an input stream for sequential reading.
|
|
6240
6240
|
* @param path The path of the input stream.
|
|
6241
6241
|
* @returns A newly created #GArrowInputStream.
|
|
6242
6242
|
*/
|
|
6243
|
-
open_input_stream(path: string
|
|
6243
|
+
open_input_stream(path: string): InputStream | null
|
|
6244
6244
|
/**
|
|
6245
6245
|
* Open an output stream for sequential writing.
|
|
6246
6246
|
* If the target already exists, the existing data is truncated.
|
|
6247
6247
|
* @param path The path of the output stream.
|
|
6248
6248
|
* @returns A newly created #GArrowOutputStream.
|
|
6249
6249
|
*/
|
|
6250
|
-
open_output_stream(path: string
|
|
6250
|
+
open_output_stream(path: string): OutputStream | null
|
|
6251
6251
|
|
|
6252
6252
|
// Class property signals of Arrow-1.0.Arrow.FileSystem
|
|
6253
6253
|
|
|
@@ -6277,7 +6277,7 @@ export class FileSystem extends GObject.Object {
|
|
|
6277
6277
|
* @param uri An URI to specify file system with options. If you only have an absolute path, g_filename_to_uri() will help you.
|
|
6278
6278
|
* @returns The newly created file system that is an object of a subclass of #GArrowFileSystem.
|
|
6279
6279
|
*/
|
|
6280
|
-
static create(uri: string
|
|
6280
|
+
static create(uri: string): FileSystem | null
|
|
6281
6281
|
}
|
|
6282
6282
|
|
|
6283
6283
|
export module FilterOptions {
|
|
@@ -6878,7 +6878,7 @@ export interface Function {
|
|
|
6878
6878
|
execute(args: Datum[], options: FunctionOptions | null, context: ExecuteContext | null): Datum | null
|
|
6879
6879
|
get_default_options(): FunctionOptions | null
|
|
6880
6880
|
get_doc(): FunctionDoc
|
|
6881
|
-
get_name(): string
|
|
6881
|
+
get_name(): string
|
|
6882
6882
|
get_options_type(): GObject.GType
|
|
6883
6883
|
to_string(): string | null
|
|
6884
6884
|
|
|
@@ -6905,7 +6905,7 @@ export class Function extends GObject.Object {
|
|
|
6905
6905
|
constructor(config?: Function.ConstructorProperties)
|
|
6906
6906
|
_init(config?: Function.ConstructorProperties): void
|
|
6907
6907
|
static all(): Function[]
|
|
6908
|
-
static find(name: string
|
|
6908
|
+
static find(name: string): Function
|
|
6909
6909
|
}
|
|
6910
6910
|
|
|
6911
6911
|
export module FunctionDoc {
|
|
@@ -9103,7 +9103,7 @@ export interface LargeStringArrayBuilder {
|
|
|
9103
9103
|
|
|
9104
9104
|
// Owm methods of Arrow-1.0.Arrow.LargeStringArrayBuilder
|
|
9105
9105
|
|
|
9106
|
-
append_string(value: string
|
|
9106
|
+
append_string(value: string): boolean
|
|
9107
9107
|
/**
|
|
9108
9108
|
* Append multiple values at once. It's more efficient than multiple
|
|
9109
9109
|
* `append` and `append_null` calls.
|
|
@@ -9975,8 +9975,8 @@ export class MemoryMappedInputStream extends SeekableInputStream {
|
|
|
9975
9975
|
// Constructors of Arrow-1.0.Arrow.MemoryMappedInputStream
|
|
9976
9976
|
|
|
9977
9977
|
constructor(config?: MemoryMappedInputStream.ConstructorProperties)
|
|
9978
|
-
constructor(path: string
|
|
9979
|
-
static new(path: string
|
|
9978
|
+
constructor(path: string)
|
|
9979
|
+
static new(path: string): MemoryMappedInputStream
|
|
9980
9980
|
_init(config?: MemoryMappedInputStream.ConstructorProperties): void
|
|
9981
9981
|
}
|
|
9982
9982
|
|
|
@@ -10136,7 +10136,7 @@ export interface MutableBuffer {
|
|
|
10136
10136
|
* @param key name of the key
|
|
10137
10137
|
* @param data data to associate with that key
|
|
10138
10138
|
*/
|
|
10139
|
-
set_data(key: string
|
|
10139
|
+
set_data(key: string, data: any | null): void
|
|
10140
10140
|
slice(offset: number, size: number): MutableBuffer
|
|
10141
10141
|
|
|
10142
10142
|
// Overloads of slice
|
|
@@ -10154,13 +10154,13 @@ export interface MutableBuffer {
|
|
|
10154
10154
|
* @param key name of the key for that association
|
|
10155
10155
|
* @returns the data if found, or %NULL if no such data exists.
|
|
10156
10156
|
*/
|
|
10157
|
-
get_data(key: string
|
|
10157
|
+
get_data(key: string): any | null
|
|
10158
10158
|
/**
|
|
10159
10159
|
* Gets a named field from the objects table of associations (see g_object_set_data()).
|
|
10160
10160
|
* @param key name of the key for that association
|
|
10161
10161
|
* @returns the data if found, or %NULL if no such data exists.
|
|
10162
10162
|
*/
|
|
10163
|
-
get_data(key: string
|
|
10163
|
+
get_data(key: string): any | null
|
|
10164
10164
|
|
|
10165
10165
|
// Class property signals of Arrow-1.0.Arrow.MutableBuffer
|
|
10166
10166
|
|
|
@@ -11269,7 +11269,7 @@ export interface ResizableBuffer {
|
|
|
11269
11269
|
* @param key name of the key
|
|
11270
11270
|
* @param data data to associate with that key
|
|
11271
11271
|
*/
|
|
11272
|
-
set_data(key: string
|
|
11272
|
+
set_data(key: string, data: any | null): void
|
|
11273
11273
|
/**
|
|
11274
11274
|
* Each object carries around a table of associations from
|
|
11275
11275
|
* strings to pointers. This function lets you set an association.
|
|
@@ -11284,7 +11284,7 @@ export interface ResizableBuffer {
|
|
|
11284
11284
|
* @param key name of the key
|
|
11285
11285
|
* @param data data to associate with that key
|
|
11286
11286
|
*/
|
|
11287
|
-
set_data(key: string
|
|
11287
|
+
set_data(key: string, data: any | null): void
|
|
11288
11288
|
slice(offset: number, size: number): MutableBuffer
|
|
11289
11289
|
|
|
11290
11290
|
// Overloads of slice
|
|
@@ -11300,13 +11300,13 @@ export interface ResizableBuffer {
|
|
|
11300
11300
|
* @param key name of the key for that association
|
|
11301
11301
|
* @returns the data if found, or %NULL if no such data exists.
|
|
11302
11302
|
*/
|
|
11303
|
-
get_data(key: string
|
|
11303
|
+
get_data(key: string): any | null
|
|
11304
11304
|
/**
|
|
11305
11305
|
* Gets a named field from the objects table of associations (see g_object_set_data()).
|
|
11306
11306
|
* @param key name of the key for that association
|
|
11307
11307
|
* @returns the data if found, or %NULL if no such data exists.
|
|
11308
11308
|
*/
|
|
11309
|
-
get_data(key: string
|
|
11309
|
+
get_data(key: string): any | null
|
|
11310
11310
|
|
|
11311
11311
|
// Class property signals of Arrow-1.0.Arrow.ResizableBuffer
|
|
11312
11312
|
|
|
@@ -11840,8 +11840,8 @@ export interface Schema {
|
|
|
11840
11840
|
equal(other_schema: Schema): boolean
|
|
11841
11841
|
export(): any | null
|
|
11842
11842
|
get_field(i: number): Field
|
|
11843
|
-
get_field_by_name(name: string
|
|
11844
|
-
get_field_index(name: string
|
|
11843
|
+
get_field_by_name(name: string): Field
|
|
11844
|
+
get_field_index(name: string): number
|
|
11845
11845
|
get_fields(): Field[]
|
|
11846
11846
|
get_metadata(): GLib.HashTable | null
|
|
11847
11847
|
has_metadata(): boolean
|
|
@@ -12280,8 +12280,8 @@ export class SortKey extends GObject.Object {
|
|
|
12280
12280
|
// Constructors of Arrow-1.0.Arrow.SortKey
|
|
12281
12281
|
|
|
12282
12282
|
constructor(config?: SortKey.ConstructorProperties)
|
|
12283
|
-
constructor(target: string
|
|
12284
|
-
static new(target: string
|
|
12283
|
+
constructor(target: string, order: SortOrder)
|
|
12284
|
+
static new(target: string, order: SortOrder): SortKey
|
|
12285
12285
|
_init(config?: SortKey.ConstructorProperties): void
|
|
12286
12286
|
}
|
|
12287
12287
|
|
|
@@ -12631,12 +12631,12 @@ export interface StringArrayBuilder {
|
|
|
12631
12631
|
|
|
12632
12632
|
// Owm methods of Arrow-1.0.Arrow.StringArrayBuilder
|
|
12633
12633
|
|
|
12634
|
-
append(value: string
|
|
12634
|
+
append(value: string): boolean
|
|
12635
12635
|
|
|
12636
12636
|
// Overloads of append
|
|
12637
12637
|
|
|
12638
12638
|
append(value: Uint8Array): boolean
|
|
12639
|
-
append_string(value: string
|
|
12639
|
+
append_string(value: string): boolean
|
|
12640
12640
|
/**
|
|
12641
12641
|
* Append multiple values at once. It's more efficient than multiple
|
|
12642
12642
|
* `append` and `append_null` calls.
|
|
@@ -12742,7 +12742,7 @@ export interface StringDictionaryArrayBuilder {
|
|
|
12742
12742
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
12743
12743
|
*/
|
|
12744
12744
|
append_indices(values: number[], is_valids: boolean[] | null): boolean
|
|
12745
|
-
append_string(value: string
|
|
12745
|
+
append_string(value: string): boolean
|
|
12746
12746
|
finish_delta(): [ /* returnType */ boolean, /* out_indices */ Array, /* out_delta */ Array ]
|
|
12747
12747
|
get_dictionary_length(): number
|
|
12748
12748
|
insert_memo_values(values: StringArray): boolean
|
|
@@ -12952,8 +12952,8 @@ export interface StructDataType {
|
|
|
12952
12952
|
// Owm methods of Arrow-1.0.Arrow.StructDataType
|
|
12953
12953
|
|
|
12954
12954
|
get_field(i: number): Field | null
|
|
12955
|
-
get_field_by_name(name: string
|
|
12956
|
-
get_field_index(name: string
|
|
12955
|
+
get_field_by_name(name: string): Field | null
|
|
12956
|
+
get_field_index(name: string): number
|
|
12957
12957
|
get_fields(): Field[]
|
|
12958
12958
|
get_n_fields(): number
|
|
12959
12959
|
|
|
@@ -13080,8 +13080,8 @@ export class SubTreeFileSystem extends FileSystem {
|
|
|
13080
13080
|
// Constructors of Arrow-1.0.Arrow.SubTreeFileSystem
|
|
13081
13081
|
|
|
13082
13082
|
constructor(config?: SubTreeFileSystem.ConstructorProperties)
|
|
13083
|
-
constructor(base_path: string
|
|
13084
|
-
static new(base_path: string
|
|
13083
|
+
constructor(base_path: string, base_file_system: FileSystem)
|
|
13084
|
+
static new(base_path: string, base_file_system: FileSystem): SubTreeFileSystem
|
|
13085
13085
|
_init(config?: SubTreeFileSystem.ConstructorProperties): void
|
|
13086
13086
|
}
|
|
13087
13087
|
|
|
@@ -13492,7 +13492,7 @@ export interface Tensor {
|
|
|
13492
13492
|
|
|
13493
13493
|
equal(other_tensor: Tensor): boolean
|
|
13494
13494
|
get_buffer(): Buffer
|
|
13495
|
-
get_dimension_name(i: number): string
|
|
13495
|
+
get_dimension_name(i: number): string
|
|
13496
13496
|
get_n_dimensions(): number
|
|
13497
13497
|
get_shape(): number[]
|
|
13498
13498
|
get_size(): number
|
package/arrow-1.0.d.ts
CHANGED
|
@@ -562,7 +562,7 @@ const VERSION_MINOR: number
|
|
|
562
562
|
* The version tag. Normally, it's an empty string. It's "SNAPSHOT"
|
|
563
563
|
* for snapshot version.
|
|
564
564
|
*/
|
|
565
|
-
const VERSION_TAG: string
|
|
565
|
+
const VERSION_TAG: string
|
|
566
566
|
function error_quark(): GLib.Quark
|
|
567
567
|
/**
|
|
568
568
|
* Finalize the S3 APIs.
|
|
@@ -856,8 +856,8 @@ class Aggregation extends GObject.Object {
|
|
|
856
856
|
// Constructors of Arrow-1.0.Arrow.Aggregation
|
|
857
857
|
|
|
858
858
|
constructor(config?: Aggregation.ConstructorProperties)
|
|
859
|
-
constructor(function_: string
|
|
860
|
-
static new(function_: string
|
|
859
|
+
constructor(function_: string, options: FunctionOptions | null, input: string, output: string)
|
|
860
|
+
static new(function_: string, options: FunctionOptions | null, input: string, output: string): Aggregation
|
|
861
861
|
_init(config?: Aggregation.ConstructorProperties): void
|
|
862
862
|
}
|
|
863
863
|
|
|
@@ -1806,7 +1806,7 @@ interface Buffer {
|
|
|
1806
1806
|
* @param key name of the key for that association
|
|
1807
1807
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1808
1808
|
*/
|
|
1809
|
-
get_data(key: string
|
|
1809
|
+
get_data(key: string): any | null
|
|
1810
1810
|
get_mutable_data(): GLib.Bytes | null
|
|
1811
1811
|
get_parent(): Buffer | null
|
|
1812
1812
|
get_size(): number
|
|
@@ -2287,21 +2287,21 @@ interface CSVReadOptions {
|
|
|
2287
2287
|
|
|
2288
2288
|
// Owm methods of Arrow-1.0.Arrow.CSVReadOptions
|
|
2289
2289
|
|
|
2290
|
-
add_column_name(column_name: string
|
|
2290
|
+
add_column_name(column_name: string): void
|
|
2291
2291
|
/**
|
|
2292
2292
|
* Add value type of a column.
|
|
2293
2293
|
* @param name The name of the target column.
|
|
2294
2294
|
* @param data_type The #GArrowDataType for the column.
|
|
2295
2295
|
*/
|
|
2296
|
-
add_column_type(name: string
|
|
2297
|
-
add_false_value(false_value: string
|
|
2298
|
-
add_null_value(null_value: string
|
|
2296
|
+
add_column_type(name: string, data_type: DataType): void
|
|
2297
|
+
add_false_value(false_value: string): void
|
|
2298
|
+
add_null_value(null_value: string): void
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Add value types for columns in the schema.
|
|
2301
2301
|
* @param schema The #GArrowSchema that specifies columns and their types.
|
|
2302
2302
|
*/
|
|
2303
2303
|
add_schema(schema: Schema): void
|
|
2304
|
-
add_true_value(true_value: string
|
|
2304
|
+
add_true_value(true_value: string): void
|
|
2305
2305
|
get_column_names(): string[] | null
|
|
2306
2306
|
get_column_types(): GLib.HashTable
|
|
2307
2307
|
get_false_values(): string[] | null
|
|
@@ -2470,8 +2470,8 @@ class CallExpression extends Expression {
|
|
|
2470
2470
|
// Constructors of Arrow-1.0.Arrow.CallExpression
|
|
2471
2471
|
|
|
2472
2472
|
constructor(config?: CallExpression.ConstructorProperties)
|
|
2473
|
-
constructor(function_: string
|
|
2474
|
-
static new(function_: string
|
|
2473
|
+
constructor(function_: string, arguments_: Expression[], options: FunctionOptions | null)
|
|
2474
|
+
static new(function_: string, arguments_: Expression[], options: FunctionOptions | null): CallExpression
|
|
2475
2475
|
_init(config?: CallExpression.ConstructorProperties): void
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
@@ -2802,7 +2802,7 @@ interface Codec {
|
|
|
2802
2802
|
|
|
2803
2803
|
get_compression_level(): number
|
|
2804
2804
|
get_compression_type(): CompressionType
|
|
2805
|
-
get_name(): string
|
|
2805
|
+
get_name(): string
|
|
2806
2806
|
|
|
2807
2807
|
// Class property signals of Arrow-1.0.Arrow.Codec
|
|
2808
2808
|
|
|
@@ -3717,7 +3717,7 @@ class Decimal128 extends GObject.Object {
|
|
|
3717
3717
|
|
|
3718
3718
|
constructor(config?: Decimal128.ConstructorProperties)
|
|
3719
3719
|
static new_integer(data: number): Decimal128
|
|
3720
|
-
static new_string(data: string
|
|
3720
|
+
static new_string(data: string): Decimal128
|
|
3721
3721
|
_init(config?: Decimal128.ConstructorProperties): void
|
|
3722
3722
|
}
|
|
3723
3723
|
|
|
@@ -4039,7 +4039,7 @@ class Decimal256 extends GObject.Object {
|
|
|
4039
4039
|
|
|
4040
4040
|
constructor(config?: Decimal256.ConstructorProperties)
|
|
4041
4041
|
static new_integer(data: number): Decimal256
|
|
4042
|
-
static new_string(data: string
|
|
4042
|
+
static new_string(data: string): Decimal256
|
|
4043
4043
|
_init(config?: Decimal256.ConstructorProperties): void
|
|
4044
4044
|
}
|
|
4045
4045
|
|
|
@@ -4995,7 +4995,7 @@ interface ExecuteNode {
|
|
|
4995
4995
|
|
|
4996
4996
|
// Owm methods of Arrow-1.0.Arrow.ExecuteNode
|
|
4997
4997
|
|
|
4998
|
-
get_kind_name(): string
|
|
4998
|
+
get_kind_name(): string
|
|
4999
4999
|
get_output_schema(): Schema
|
|
5000
5000
|
|
|
5001
5001
|
// Class property signals of Arrow-1.0.Arrow.ExecuteNode
|
|
@@ -5111,7 +5111,7 @@ interface ExecutePlan {
|
|
|
5111
5111
|
* @returns A newly built and added #GArrowExecuteNode for hash join on success, %NULL on error.
|
|
5112
5112
|
*/
|
|
5113
5113
|
build_hash_join_node(left: ExecuteNode, right: ExecuteNode, options: HashJoinNodeOptions): ExecuteNode
|
|
5114
|
-
build_node(factory_name: string
|
|
5114
|
+
build_node(factory_name: string, inputs: ExecuteNode[], options: ExecuteNodeOptions): ExecuteNode
|
|
5115
5115
|
/**
|
|
5116
5116
|
* This is a shortcut of garrow_execute_plan_build_node() for sink
|
|
5117
5117
|
* node.
|
|
@@ -5368,7 +5368,7 @@ interface ExtensionDataTypeRegistry {
|
|
|
5368
5368
|
|
|
5369
5369
|
// Owm methods of Arrow-1.0.Arrow.ExtensionDataTypeRegistry
|
|
5370
5370
|
|
|
5371
|
-
lookup(name: string
|
|
5371
|
+
lookup(name: string): ExtensionDataType
|
|
5372
5372
|
/**
|
|
5373
5373
|
* Register the given `data_type` to the `registry`.
|
|
5374
5374
|
* @param data_type A #GArrowExtensionDataType to be registered.
|
|
@@ -5381,7 +5381,7 @@ interface ExtensionDataTypeRegistry {
|
|
|
5381
5381
|
* @param name An extension data type name to be unregistered.
|
|
5382
5382
|
* @returns %TRUE on success, %FALSE on error.
|
|
5383
5383
|
*/
|
|
5384
|
-
unregister(name: string
|
|
5384
|
+
unregister(name: string): boolean
|
|
5385
5385
|
|
|
5386
5386
|
// Class property signals of Arrow-1.0.Arrow.ExtensionDataTypeRegistry
|
|
5387
5387
|
|
|
@@ -5610,7 +5610,7 @@ interface Field {
|
|
|
5610
5610
|
export(): any | null
|
|
5611
5611
|
get_data_type(): DataType
|
|
5612
5612
|
get_metadata(): GLib.HashTable | null
|
|
5613
|
-
get_name(): string
|
|
5613
|
+
get_name(): string
|
|
5614
5614
|
has_metadata(): boolean
|
|
5615
5615
|
is_nullable(): boolean
|
|
5616
5616
|
remove_metadata(): Field
|
|
@@ -5643,9 +5643,9 @@ class Field extends GObject.Object {
|
|
|
5643
5643
|
// Constructors of Arrow-1.0.Arrow.Field
|
|
5644
5644
|
|
|
5645
5645
|
constructor(config?: Field.ConstructorProperties)
|
|
5646
|
-
constructor(name: string
|
|
5647
|
-
static new(name: string
|
|
5648
|
-
static new_full(name: string
|
|
5646
|
+
constructor(name: string, data_type: DataType)
|
|
5647
|
+
static new(name: string, data_type: DataType): Field
|
|
5648
|
+
static new_full(name: string, data_type: DataType, nullable: boolean): Field
|
|
5649
5649
|
_init(config?: Field.ConstructorProperties): void
|
|
5650
5650
|
static import(c_abi_schema: any): Field | null
|
|
5651
5651
|
}
|
|
@@ -5683,8 +5683,8 @@ class FieldExpression extends Expression {
|
|
|
5683
5683
|
// Constructors of Arrow-1.0.Arrow.FieldExpression
|
|
5684
5684
|
|
|
5685
5685
|
constructor(config?: FieldExpression.ConstructorProperties)
|
|
5686
|
-
constructor(reference: string
|
|
5687
|
-
static new(reference: string
|
|
5686
|
+
constructor(reference: string)
|
|
5687
|
+
static new(reference: string): FieldExpression
|
|
5688
5688
|
_init(config?: FieldExpression.ConstructorProperties): void
|
|
5689
5689
|
}
|
|
5690
5690
|
|
|
@@ -5943,8 +5943,8 @@ class FileInputStream extends SeekableInputStream {
|
|
|
5943
5943
|
// Constructors of Arrow-1.0.Arrow.FileInputStream
|
|
5944
5944
|
|
|
5945
5945
|
constructor(config?: FileInputStream.ConstructorProperties)
|
|
5946
|
-
constructor(path: string
|
|
5947
|
-
static new(path: string
|
|
5946
|
+
constructor(path: string)
|
|
5947
|
+
static new(path: string): FileInputStream
|
|
5948
5948
|
static new_file_descriptor(file_descriptor: number): FileInputStream
|
|
5949
5949
|
_init(config?: FileInputStream.ConstructorProperties): void
|
|
5950
5950
|
}
|
|
@@ -5985,8 +5985,8 @@ class FileOutputStream extends OutputStream {
|
|
|
5985
5985
|
// Constructors of Arrow-1.0.Arrow.FileOutputStream
|
|
5986
5986
|
|
|
5987
5987
|
constructor(config?: FileOutputStream.ConstructorProperties)
|
|
5988
|
-
constructor(path: string
|
|
5989
|
-
static new(path: string
|
|
5988
|
+
constructor(path: string, append: boolean)
|
|
5989
|
+
static new(path: string, append: boolean): FileOutputStream
|
|
5990
5990
|
_init(config?: FileOutputStream.ConstructorProperties): void
|
|
5991
5991
|
}
|
|
5992
5992
|
|
|
@@ -6147,7 +6147,7 @@ interface FileSystem {
|
|
|
6147
6147
|
* @param dest The path of the destination.
|
|
6148
6148
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6149
6149
|
*/
|
|
6150
|
-
copy_file(src: string
|
|
6150
|
+
copy_file(src: string, dest: string): boolean
|
|
6151
6151
|
/**
|
|
6152
6152
|
* Create a directory and subdirectories.
|
|
6153
6153
|
* This function succeeds if the directory already exists.
|
|
@@ -6155,13 +6155,13 @@ interface FileSystem {
|
|
|
6155
6155
|
* @param recursive Whether creating directory recursively or not.
|
|
6156
6156
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6157
6157
|
*/
|
|
6158
|
-
create_dir(path: string
|
|
6158
|
+
create_dir(path: string, recursive: boolean): boolean
|
|
6159
6159
|
/**
|
|
6160
6160
|
* Delete a directory and its contents, recursively.
|
|
6161
6161
|
* @param path The paths of the directory.
|
|
6162
6162
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6163
6163
|
*/
|
|
6164
|
-
delete_dir(path: string
|
|
6164
|
+
delete_dir(path: string): boolean
|
|
6165
6165
|
/**
|
|
6166
6166
|
* Delete a directory's contents, recursively. Like
|
|
6167
6167
|
* garrow_file_system_delete_dir(), but doesn't delete the directory
|
|
@@ -6170,13 +6170,13 @@ interface FileSystem {
|
|
|
6170
6170
|
* @param path The paths of the directory.
|
|
6171
6171
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6172
6172
|
*/
|
|
6173
|
-
delete_dir_contents(path: string
|
|
6173
|
+
delete_dir_contents(path: string): boolean
|
|
6174
6174
|
/**
|
|
6175
6175
|
* Delete a file.
|
|
6176
6176
|
* @param path The paths of the file to be delete.
|
|
6177
6177
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6178
6178
|
*/
|
|
6179
|
-
delete_file(path: string
|
|
6179
|
+
delete_file(path: string): boolean
|
|
6180
6180
|
/**
|
|
6181
6181
|
* Delete many files.
|
|
6182
6182
|
* @param paths The paths of the files to be delete.
|
|
@@ -6194,7 +6194,7 @@ interface FileSystem {
|
|
|
6194
6194
|
* @param path The path of the target.
|
|
6195
6195
|
* @returns A #GArrowFileInfo.
|
|
6196
6196
|
*/
|
|
6197
|
-
get_file_info(path: string
|
|
6197
|
+
get_file_info(path: string): FileInfo | null
|
|
6198
6198
|
/**
|
|
6199
6199
|
* Get information same as garrow_file_system_get_file_info()
|
|
6200
6200
|
* for the given many targets at once.
|
|
@@ -6223,33 +6223,33 @@ interface FileSystem {
|
|
|
6223
6223
|
* @param dest The path of the destination.
|
|
6224
6224
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
6225
6225
|
*/
|
|
6226
|
-
move(src: string
|
|
6226
|
+
move(src: string, dest: string): boolean
|
|
6227
6227
|
/**
|
|
6228
6228
|
* Open an output stream for appending.
|
|
6229
6229
|
* If the target doesn't exist, a new empty file is created.
|
|
6230
6230
|
* @param path The path of the output stream.
|
|
6231
6231
|
* @returns A newly created #GArrowOutputStream for appending.
|
|
6232
6232
|
*/
|
|
6233
|
-
open_append_stream(path: string
|
|
6233
|
+
open_append_stream(path: string): OutputStream | null
|
|
6234
6234
|
/**
|
|
6235
6235
|
* Open an input file for random access reading.
|
|
6236
6236
|
* @param path The path of the input file.
|
|
6237
6237
|
* @returns A newly created #GArrowSeekableInputStream.
|
|
6238
6238
|
*/
|
|
6239
|
-
open_input_file(path: string
|
|
6239
|
+
open_input_file(path: string): SeekableInputStream | null
|
|
6240
6240
|
/**
|
|
6241
6241
|
* Open an input stream for sequential reading.
|
|
6242
6242
|
* @param path The path of the input stream.
|
|
6243
6243
|
* @returns A newly created #GArrowInputStream.
|
|
6244
6244
|
*/
|
|
6245
|
-
open_input_stream(path: string
|
|
6245
|
+
open_input_stream(path: string): InputStream | null
|
|
6246
6246
|
/**
|
|
6247
6247
|
* Open an output stream for sequential writing.
|
|
6248
6248
|
* If the target already exists, the existing data is truncated.
|
|
6249
6249
|
* @param path The path of the output stream.
|
|
6250
6250
|
* @returns A newly created #GArrowOutputStream.
|
|
6251
6251
|
*/
|
|
6252
|
-
open_output_stream(path: string
|
|
6252
|
+
open_output_stream(path: string): OutputStream | null
|
|
6253
6253
|
|
|
6254
6254
|
// Class property signals of Arrow-1.0.Arrow.FileSystem
|
|
6255
6255
|
|
|
@@ -6279,7 +6279,7 @@ class FileSystem extends GObject.Object {
|
|
|
6279
6279
|
* @param uri An URI to specify file system with options. If you only have an absolute path, g_filename_to_uri() will help you.
|
|
6280
6280
|
* @returns The newly created file system that is an object of a subclass of #GArrowFileSystem.
|
|
6281
6281
|
*/
|
|
6282
|
-
static create(uri: string
|
|
6282
|
+
static create(uri: string): FileSystem | null
|
|
6283
6283
|
}
|
|
6284
6284
|
|
|
6285
6285
|
module FilterOptions {
|
|
@@ -6880,7 +6880,7 @@ interface Function {
|
|
|
6880
6880
|
execute(args: Datum[], options: FunctionOptions | null, context: ExecuteContext | null): Datum | null
|
|
6881
6881
|
get_default_options(): FunctionOptions | null
|
|
6882
6882
|
get_doc(): FunctionDoc
|
|
6883
|
-
get_name(): string
|
|
6883
|
+
get_name(): string
|
|
6884
6884
|
get_options_type(): GObject.GType
|
|
6885
6885
|
to_string(): string | null
|
|
6886
6886
|
|
|
@@ -6907,7 +6907,7 @@ class Function extends GObject.Object {
|
|
|
6907
6907
|
constructor(config?: Function.ConstructorProperties)
|
|
6908
6908
|
_init(config?: Function.ConstructorProperties): void
|
|
6909
6909
|
static all(): Function[]
|
|
6910
|
-
static find(name: string
|
|
6910
|
+
static find(name: string): Function
|
|
6911
6911
|
}
|
|
6912
6912
|
|
|
6913
6913
|
module FunctionDoc {
|
|
@@ -9105,7 +9105,7 @@ interface LargeStringArrayBuilder {
|
|
|
9105
9105
|
|
|
9106
9106
|
// Owm methods of Arrow-1.0.Arrow.LargeStringArrayBuilder
|
|
9107
9107
|
|
|
9108
|
-
append_string(value: string
|
|
9108
|
+
append_string(value: string): boolean
|
|
9109
9109
|
/**
|
|
9110
9110
|
* Append multiple values at once. It's more efficient than multiple
|
|
9111
9111
|
* `append` and `append_null` calls.
|
|
@@ -9977,8 +9977,8 @@ class MemoryMappedInputStream extends SeekableInputStream {
|
|
|
9977
9977
|
// Constructors of Arrow-1.0.Arrow.MemoryMappedInputStream
|
|
9978
9978
|
|
|
9979
9979
|
constructor(config?: MemoryMappedInputStream.ConstructorProperties)
|
|
9980
|
-
constructor(path: string
|
|
9981
|
-
static new(path: string
|
|
9980
|
+
constructor(path: string)
|
|
9981
|
+
static new(path: string): MemoryMappedInputStream
|
|
9982
9982
|
_init(config?: MemoryMappedInputStream.ConstructorProperties): void
|
|
9983
9983
|
}
|
|
9984
9984
|
|
|
@@ -10138,7 +10138,7 @@ interface MutableBuffer {
|
|
|
10138
10138
|
* @param key name of the key
|
|
10139
10139
|
* @param data data to associate with that key
|
|
10140
10140
|
*/
|
|
10141
|
-
set_data(key: string
|
|
10141
|
+
set_data(key: string, data: any | null): void
|
|
10142
10142
|
slice(offset: number, size: number): MutableBuffer
|
|
10143
10143
|
|
|
10144
10144
|
// Overloads of slice
|
|
@@ -10156,13 +10156,13 @@ interface MutableBuffer {
|
|
|
10156
10156
|
* @param key name of the key for that association
|
|
10157
10157
|
* @returns the data if found, or %NULL if no such data exists.
|
|
10158
10158
|
*/
|
|
10159
|
-
get_data(key: string
|
|
10159
|
+
get_data(key: string): any | null
|
|
10160
10160
|
/**
|
|
10161
10161
|
* Gets a named field from the objects table of associations (see g_object_set_data()).
|
|
10162
10162
|
* @param key name of the key for that association
|
|
10163
10163
|
* @returns the data if found, or %NULL if no such data exists.
|
|
10164
10164
|
*/
|
|
10165
|
-
get_data(key: string
|
|
10165
|
+
get_data(key: string): any | null
|
|
10166
10166
|
|
|
10167
10167
|
// Class property signals of Arrow-1.0.Arrow.MutableBuffer
|
|
10168
10168
|
|
|
@@ -11271,7 +11271,7 @@ interface ResizableBuffer {
|
|
|
11271
11271
|
* @param key name of the key
|
|
11272
11272
|
* @param data data to associate with that key
|
|
11273
11273
|
*/
|
|
11274
|
-
set_data(key: string
|
|
11274
|
+
set_data(key: string, data: any | null): void
|
|
11275
11275
|
/**
|
|
11276
11276
|
* Each object carries around a table of associations from
|
|
11277
11277
|
* strings to pointers. This function lets you set an association.
|
|
@@ -11286,7 +11286,7 @@ interface ResizableBuffer {
|
|
|
11286
11286
|
* @param key name of the key
|
|
11287
11287
|
* @param data data to associate with that key
|
|
11288
11288
|
*/
|
|
11289
|
-
set_data(key: string
|
|
11289
|
+
set_data(key: string, data: any | null): void
|
|
11290
11290
|
slice(offset: number, size: number): MutableBuffer
|
|
11291
11291
|
|
|
11292
11292
|
// Overloads of slice
|
|
@@ -11302,13 +11302,13 @@ interface ResizableBuffer {
|
|
|
11302
11302
|
* @param key name of the key for that association
|
|
11303
11303
|
* @returns the data if found, or %NULL if no such data exists.
|
|
11304
11304
|
*/
|
|
11305
|
-
get_data(key: string
|
|
11305
|
+
get_data(key: string): any | null
|
|
11306
11306
|
/**
|
|
11307
11307
|
* Gets a named field from the objects table of associations (see g_object_set_data()).
|
|
11308
11308
|
* @param key name of the key for that association
|
|
11309
11309
|
* @returns the data if found, or %NULL if no such data exists.
|
|
11310
11310
|
*/
|
|
11311
|
-
get_data(key: string
|
|
11311
|
+
get_data(key: string): any | null
|
|
11312
11312
|
|
|
11313
11313
|
// Class property signals of Arrow-1.0.Arrow.ResizableBuffer
|
|
11314
11314
|
|
|
@@ -11842,8 +11842,8 @@ interface Schema {
|
|
|
11842
11842
|
equal(other_schema: Schema): boolean
|
|
11843
11843
|
export(): any | null
|
|
11844
11844
|
get_field(i: number): Field
|
|
11845
|
-
get_field_by_name(name: string
|
|
11846
|
-
get_field_index(name: string
|
|
11845
|
+
get_field_by_name(name: string): Field
|
|
11846
|
+
get_field_index(name: string): number
|
|
11847
11847
|
get_fields(): Field[]
|
|
11848
11848
|
get_metadata(): GLib.HashTable | null
|
|
11849
11849
|
has_metadata(): boolean
|
|
@@ -12282,8 +12282,8 @@ class SortKey extends GObject.Object {
|
|
|
12282
12282
|
// Constructors of Arrow-1.0.Arrow.SortKey
|
|
12283
12283
|
|
|
12284
12284
|
constructor(config?: SortKey.ConstructorProperties)
|
|
12285
|
-
constructor(target: string
|
|
12286
|
-
static new(target: string
|
|
12285
|
+
constructor(target: string, order: SortOrder)
|
|
12286
|
+
static new(target: string, order: SortOrder): SortKey
|
|
12287
12287
|
_init(config?: SortKey.ConstructorProperties): void
|
|
12288
12288
|
}
|
|
12289
12289
|
|
|
@@ -12633,12 +12633,12 @@ interface StringArrayBuilder {
|
|
|
12633
12633
|
|
|
12634
12634
|
// Owm methods of Arrow-1.0.Arrow.StringArrayBuilder
|
|
12635
12635
|
|
|
12636
|
-
append(value: string
|
|
12636
|
+
append(value: string): boolean
|
|
12637
12637
|
|
|
12638
12638
|
// Overloads of append
|
|
12639
12639
|
|
|
12640
12640
|
append(value: Uint8Array): boolean
|
|
12641
|
-
append_string(value: string
|
|
12641
|
+
append_string(value: string): boolean
|
|
12642
12642
|
/**
|
|
12643
12643
|
* Append multiple values at once. It's more efficient than multiple
|
|
12644
12644
|
* `append` and `append_null` calls.
|
|
@@ -12744,7 +12744,7 @@ interface StringDictionaryArrayBuilder {
|
|
|
12744
12744
|
* @returns %TRUE on success, %FALSE if there was an error.
|
|
12745
12745
|
*/
|
|
12746
12746
|
append_indices(values: number[], is_valids: boolean[] | null): boolean
|
|
12747
|
-
append_string(value: string
|
|
12747
|
+
append_string(value: string): boolean
|
|
12748
12748
|
finish_delta(): [ /* returnType */ boolean, /* out_indices */ Array, /* out_delta */ Array ]
|
|
12749
12749
|
get_dictionary_length(): number
|
|
12750
12750
|
insert_memo_values(values: StringArray): boolean
|
|
@@ -12954,8 +12954,8 @@ interface StructDataType {
|
|
|
12954
12954
|
// Owm methods of Arrow-1.0.Arrow.StructDataType
|
|
12955
12955
|
|
|
12956
12956
|
get_field(i: number): Field | null
|
|
12957
|
-
get_field_by_name(name: string
|
|
12958
|
-
get_field_index(name: string
|
|
12957
|
+
get_field_by_name(name: string): Field | null
|
|
12958
|
+
get_field_index(name: string): number
|
|
12959
12959
|
get_fields(): Field[]
|
|
12960
12960
|
get_n_fields(): number
|
|
12961
12961
|
|
|
@@ -13082,8 +13082,8 @@ class SubTreeFileSystem extends FileSystem {
|
|
|
13082
13082
|
// Constructors of Arrow-1.0.Arrow.SubTreeFileSystem
|
|
13083
13083
|
|
|
13084
13084
|
constructor(config?: SubTreeFileSystem.ConstructorProperties)
|
|
13085
|
-
constructor(base_path: string
|
|
13086
|
-
static new(base_path: string
|
|
13085
|
+
constructor(base_path: string, base_file_system: FileSystem)
|
|
13086
|
+
static new(base_path: string, base_file_system: FileSystem): SubTreeFileSystem
|
|
13087
13087
|
_init(config?: SubTreeFileSystem.ConstructorProperties): void
|
|
13088
13088
|
}
|
|
13089
13089
|
|
|
@@ -13494,7 +13494,7 @@ interface Tensor {
|
|
|
13494
13494
|
|
|
13495
13495
|
equal(other_tensor: Tensor): boolean
|
|
13496
13496
|
get_buffer(): Buffer
|
|
13497
|
-
get_dimension_name(i: number): string
|
|
13497
|
+
get_dimension_name(i: number): string
|
|
13498
13498
|
get_n_dimensions(): number
|
|
13499
13499
|
get_shape(): number[]
|
|
13500
13500
|
get_size(): number
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/arrow-1.0",
|
|
3
|
-
"version": "7.0.0-3.2.
|
|
3
|
+
"version": "7.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Arrow-1.0, generated from library version 7.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "arrow-1.0.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit arrow-1.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
28
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
29
|
+
"@girs/gjs": "^3.2.7",
|
|
30
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "*"
|