Sha256: 7db27e970c682b05338c5d55a507bb59637913a0abd18f72839b0b0782ecee29

Contents?: true

Size: 938 Bytes

Versions: 12

Compression:

Stored size: 938 Bytes

Contents

package com.treasuredata.api.model;

public enum TDPrimitiveColumnType
        implements TDColumnType
{
    INT("int"),
    LONG("long"),
    FLOAT("float"),
    DOUBLE("double"),
    BOOLEAN("boolean"),
    STRING("string");

    private String name;

    private TDPrimitiveColumnType(String name)
    {
        this.name = name;
    }

    @Override
    public String toString()
    {
        return name;
    }

    @Override
    public boolean isPrimitive()
    {
        return true;
    }

    @Override
    public boolean isArrayType()
    {
        return false;
    }

    @Override
    public boolean isMapType()
    {
        return false;
    }

    @Override
    public TDPrimitiveColumnType asPrimitiveType()
    {
        return this;
    }

    @Override
    public TDArrayColumnType asArrayType()
    {
        return null;
    }

    @Override
    public TDMapColumnType asMapType()
    {
        return null;
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
embulk-output-td-0.2.2 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.2.1 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.2.0 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.8 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.7 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.6 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.5 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.4 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.3 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.2 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.1 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java
embulk-output-td-0.1.0 src/main/java/com/treasuredata/api/model/TDPrimitiveColumnType.java