Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 78F33200CE6 for ; Wed, 16 Aug 2017 23:33:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7757A169B0B; Wed, 16 Aug 2017 21:33:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 73F38169B11 for ; Wed, 16 Aug 2017 23:32:57 +0200 (CEST) Received: (qmail 40736 invoked by uid 500); 16 Aug 2017 21:32:56 -0000 Mailing-List: contact commits-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list commits@arrow.apache.org Received: (qmail 40436 invoked by uid 99); 16 Aug 2017 21:32:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2017 21:32:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AF5F4F5ED9; Wed, 16 Aug 2017 21:32:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: wesm@apache.org To: commits@arrow.apache.org Date: Wed, 16 Aug 2017 21:33:17 -0000 Message-Id: <7f6a1c00ee3744f891eb3a6157cff710@git.apache.org> In-Reply-To: <516e9eb2901b4e81b5bc123becbdcfe2@git.apache.org> References: <516e9eb2901b4e81b5bc123becbdcfe2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [23/30] arrow-site git commit: Update Python and GLib API docs for 0.6.0 archived-at: Wed, 16 Aug 2017 21:33:00 -0000 http://git-wip-us.apache.org/repos/asf/arrow-site/blob/4d4a3202/docs/c_glib/writer-classes.html ---------------------------------------------------------------------- diff --git a/docs/c_glib/writer-classes.html b/docs/c_glib/writer-classes.html new file mode 100644 index 0000000..6b048f7 --- /dev/null +++ b/docs/c_glib/writer-classes.html @@ -0,0 +1,585 @@ + + + + + Reference Manual: Writer classes + + + + + + + + + + + + + + + + +
+
+
+ + +
+

Writer classes

+

Writer classes

+
+ +
+

Properties

+
+++++ + + + + + + + + + + + + +
gpointerrecord-batch-writerWrite / Construct Only
gpointerfeather-table-writerWrite / Construct Only
+
+
+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + +
structGArrowRecordBatchWriter
structGArrowRecordBatchStreamWriter
structGArrowRecordBatchFileWriter
structGArrowFeatherFileWriter
+
+
+

Object Hierarchy

+
    GObject
+    ├── GArrowFeatherFileWriter
+    ├── GArrowRecordBatchWriter
+       ╰── GArrowRecordBatchStreamWriter
+           ╰── GArrowRecordBatchFileWriter
+    ╰── GArrowRecordBatchWriter
+        ╰── GArrowRecordBatchStreamWriter
+            ╰── GArrowRecordBatchFileWriter
+
+
+
+

Includes

+
#include <arrow-glib/arrow-glib.h>
+
+
+
+

Description

+

GArrowRecordBatchWriter is a base class for writing record batches +in stream format into output.

+

GArrowRecordBatchStreamWriter is a base class for writing record +batches in stream format into output synchronously.

+

GArrowRecordBatchFileWriter is a class for writing record +batches in file format into output.

+

GArrowFeatherFileWriter is a class for writing arrays +in Feather file format into output.

+
+
+

Functions

+
+

garrow_record_batch_writer_write_record_batch ()

+
gboolean
+garrow_record_batch_writer_write_record_batch
+                               (GArrowRecordBatchWriter *writer,
+                                GArrowRecordBatch *record_batch,
+                                GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

writer

A GArrowRecordBatchWriter.

 

record_batch

The record batch to be written.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

TRUE on success, FALSE if there was an error.

+

+
+

Since 0.4.0

+
+
+
+

garrow_record_batch_writer_close ()

+
gboolean
+garrow_record_batch_writer_close (GArrowRecordBatchWriter *writer,
+                                  GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

writer

A GArrowRecordBatchWriter.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

TRUE on success, FALSE if there was an error.

+

+
+

Since 0.4.0

+
+
+
+

garrow_record_batch_stream_writer_new ()

+
GArrowRecordBatchStreamWriter *
+garrow_record_batch_stream_writer_new (GArrowOutputStream *sink,
+                                       GArrowSchema *schema,
+                                       GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

sink

The output of the writer.

 

schema

The schema of the writer.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

A newly created GArrowRecordBatchStreamWriter +or NULL on error.

+

[nullable]

+
+

Since 0.4.0

+
+
+
+

garrow_record_batch_file_writer_new ()

+
GArrowRecordBatchFileWriter *
+garrow_record_batch_file_writer_new (GArrowOutputStream *sink,
+                                     GArrowSchema *schema,
+                                     GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

sink

The output of the writer.

 

schema

The schema of the writer.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

A newly created GArrowRecordBatchFileWriter +or NULL on error.

+

[nullable]

+
+

Since 0.4.0

+
+
+
+

garrow_feather_file_writer_new ()

+
GArrowFeatherFileWriter *
+garrow_feather_file_writer_new (GArrowOutputStream *sink,
+                                GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

sink

The output of the writer.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

A newly created GArrowFeatherFileWriter +or NULL on error.

+

[nullable]

+
+

Since 0.4.0

+
+
+
+

garrow_feather_file_writer_set_description ()

+
void
+garrow_feather_file_writer_set_description
+                               (GArrowFeatherFileWriter *writer,
+                                const gchar *description);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

writer

A GArrowFeatherFileWriter.

 

description

The description of the file.

 
+
+

Since 0.4.0

+
+
+
+

garrow_feather_file_writer_set_n_rows ()

+
void
+garrow_feather_file_writer_set_n_rows (GArrowFeatherFileWriter *writer,
+                                       gint64 n_rows);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

writer

A GArrowFeatherFileWriter.

 

n_rows

The number of rows in the file.

 
+
+

Since 0.4.0

+
+
+
+

garrow_feather_file_writer_append ()

+
gboolean
+garrow_feather_file_writer_append (GArrowFeatherFileWriter *writer,
+                                   const gchar *name,
+                                   GArrowArray *array,
+                                   GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +

writer

A GArrowFeatherFileWriter.

 

name

The name of the array to be appended.

 

array

The array to be appended.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

TRUE on success, FALSE if there was an error.

+

+
+

Since 0.4.0

+
+
+
+

garrow_feather_file_writer_close ()

+
gboolean
+garrow_feather_file_writer_close (GArrowFeatherFileWriter *writer,
+                                  GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

writer

A GArrowFeatherFileWriter.

 

error

Return locatipcn for a GError or NULL.

[nullable]
+
+
+

Returns

+

TRUE on success, FALSE if there was an error.

+

+
+

Since 0.4.0

+
+
+
+

Types and Values

+
+

struct GArrowRecordBatchWriter

+
struct GArrowRecordBatchWriter;
+

It wraps arrow::ipc::RecordBatchWriter.

+
+
+
+

struct GArrowRecordBatchStreamWriter

+
struct GArrowRecordBatchStreamWriter;
+

It wraps arrow::ipc::RecordBatchStreamWriter.

+
+
+
+

struct GArrowRecordBatchFileWriter

+
struct GArrowRecordBatchFileWriter;
+

It wraps arrow::ipc::RecordBatchFileWriter.

+
+
+
+

struct GArrowFeatherFileWriter

+
struct GArrowFeatherFileWriter;
+

It wraps arrow::ipc::feather::TableWriter.

+
+
+
+

Property Details

+
+

The “record-batch-writer” property

+
  “record-batch-writer”      gpointer
+

The raw std::shared<arrow::ipc::RecordBatchWriter> *.

+

Flags: Write / Construct Only

+
+
+
+

The “feather-table-writer” property

+
  “feather-table-writer”     gpointer
+

The raw std::shared<arrow::ipc::feather::TableWriter> *.

+

Flags: Write / Construct Only

+
+
+
+ + + http://git-wip-us.apache.org/repos/asf/arrow-site/blob/4d4a3202/docs/c_glib/writer.html ---------------------------------------------------------------------- diff --git a/docs/c_glib/writer.html b/docs/c_glib/writer.html index ccb09c1..ea5d730 100644 --- a/docs/c_glib/writer.html +++ b/docs/c_glib/writer.html @@ -6,8 +6,8 @@ - - + + @@ -16,20 +16,15 @@ Home Up -Prev -Next +Prev +Next

Writer

-
-
-GArrowFileWriter — File writer class -
-
-GArrowStreamWriter — Stream writer class -
-
+