Sha256: 72c793a858696a5413b8447116fbccba141fb233bd898a016eb62d4a70ba7c05

Contents?: true

Size: 944 Bytes

Versions: 5

Compression:

Stored size: 944 Bytes

Contents

package org.embulk.output.oracle.oci;

import java.util.List;

public class TableDefinition
{
    private final String schemaName;
    private final String tableName;
    private final ColumnDefinition[] columns;


    public TableDefinition(String schemaName, String tableName, ColumnDefinition... columns)
    {
        this.schemaName = schemaName;
        this.tableName = tableName;
        this.columns = columns;
    }

    public TableDefinition(String schemaName, String tableName, List<ColumnDefinition> columns)
    {
        this(schemaName, tableName, columns.toArray(new ColumnDefinition[columns.size()]));
    }

    public String getSchemaName()
    {
        return schemaName;
    }

    public String getTableName()
    {
        return tableName;
    }

    public int getColumnCount()
    {
        return columns.length;
    }

    public ColumnDefinition getColumn(int index)
    {
        return columns[index];
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
embulk-output-oracle-0.6.3 src/main/java/org/embulk/output/oracle/oci/TableDefinition.java
embulk-output-oracle-0.6.2 src/main/java/org/embulk/output/oracle/oci/TableDefinition.java
embulk-output-oracle-0.6.1 src/main/java/org/embulk/output/oracle/oci/TableDefinition.java
embulk-output-oracle-0.6.0 src/main/java/org/embulk/output/oracle/oci/TableDefinition.java
embulk-output-oracle-0.5.1 src/main/java/org/embulk/output/oracle/oci/TableDefinition.java