Sha256: 6761a33ac7260e014416d9a93bb4fbec8f47a2f006cd10fe0782509baf1fc5a4

Contents?: true

Size: 938 Bytes

Versions: 7

Compression:

Stored size: 938 Bytes

Contents

package org.embulk.output.sqlserver.nativeclient;

import jnr.ffi.Pointer;

public interface NativeClient
{
    static int SQL_NULL_DATA = -1;
    static int SQLCHARACTER = 0x2F;
    static int SQLINT1 = 0x30;
    static int SQLBIT = 0x32;
    static int SQLINT2 = 0x34;
    static int SQLINT4 = 0x38;
    static int SQLFLT8 = 0x3E;
    static int SQLFLT4 = 0x3B;
    static int SQLINT8 = 0x7F;

    static short FAIL = 0;
    static short SUCCEED = 1;
    static int DB_IN = 1;

    short bcp_initW(Pointer hdbc, Pointer szTable, Pointer szDataFile, Pointer szErrorFile, int eDirection);

    short bcp_bind(Pointer hdbc,
            Pointer pData, int cbIndicator, int cbData,
            Pointer pTerm, int cbTerm,
            int eDataType, int idxServerCol);

    short bcp_collen(Pointer hdbc, int cbData, int idxServerCol);

    short bcp_sendrow(Pointer hdbc);

    int bcp_batch(Pointer hdbc);

    int bcp_done(Pointer hdbc);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
embulk-output-sqlserver-0.8.7 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.6 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.5 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.4 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.3 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.2 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java
embulk-output-sqlserver-0.8.1 src/main/java/org/embulk/output/sqlserver/nativeclient/NativeClient.java