建構子
ArrowDatasetDirectoryPartitioningnew
自版本:6.0.0 起
宣告 [src]
GADatasetDirectoryPartitioning*
gadataset_directory_partitioning_new (
GArrowSchema* schema,
GList* dictionaries,
GADatasetKeyValuePartitioningOptions* options,
GError** error
)
參數
schema
-
類型:
GArrowSchema
一個
GArrowSchema
,描述所有已分割的區段。此函式的呼叫者擁有資料的所有權。 dictionaries
-
類型:
GArrowArray*
的列表GArrowArray
的列表,用於schema
中的字典資料類型。此參數可以為 NULL
。此函式的呼叫者擁有資料的所有權。 options
-
類型:
GADatasetKeyValuePartitioningOptions
一個
GADatasetKeyValuePartitioningOptions
。此參數可以為 NULL
。此函式的呼叫者擁有資料的所有權。 error
-
類型:
GError **
用於可恢復錯誤的回傳位置。
此參數可以為 NULL
。如果回傳位置不是 NULL
,則您必須將其初始化為NULL
GError*
。如果沒有錯誤,建構子會將此參數初始化為 NULL
。如果發生錯誤,此參數將被設定為新分配的 GError
;呼叫者將取得資料的所有權,並負責釋放它。
回傳值
類型: GADatasetDirectoryPartitioning
成功時,新建立的 GADatasetDirectoryPartitioning
;錯誤時,NULL
。
此函式的呼叫者取得資料的所有權,並負責釋放它。 |