Sha256: 03726eae82d84eb8b353a7fa639248aeb3026ca1ee655e958f41d296c756c6a5
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
#include <oci.h> typedef struct _EMBULK_OUTPUT_ORACLE_OCI_CONTEXT { OCIEnv *env; OCIDirPathCtx *dp; OCISvcCtx *svc; OCIError *err; OCIDirPathColArray *dpca; OCIDirPathStream *dpstr; char *buffer; FILE *csv; char message[512]; } EMBULK_OUTPUT_ORACLE_OCI_CONTEXT; typedef struct _EMBULK_OUTPUT_ORACLE_OCI_COL_DEF { const char *name; ub4 type; ub4 size; const char *dateFormat; } EMBULK_OUTPUT_ORACLE_OCI_COL_DEF; int embulk_output_oracle_prepareDirPathCtx(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, const char *dbName, const char *userName, const char *password); int embulk_output_oracle_prepareDirPathStream(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, const char *tableName, short charsetId, EMBULK_OUTPUT_ORACLE_OCI_COL_DEF *colDefs); int embulk_output_oracle_loadBuffer(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, EMBULK_OUTPUT_ORACLE_OCI_COL_DEF *colDefs, const char *buffer, int rowCount); int embulk_output_oracle_loadCSV(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, EMBULK_OUTPUT_ORACLE_OCI_COL_DEF *colDefs, const char *csvFileName); int embulk_output_oracle_commitDirPath(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context); int embulk_output_oracle_rollbackDirPath(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context); void embulk_output_oracle_freeDirPathHandles(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
embulk-output-oracle-0.4.1 | src/main/cpp/common/dir-path-load.h |
embulk-output-oracle-0.2.4 | src/main/cpp/common/dir-path-load.h |