public ClientDataType getRepresentativeType()

in c3r-sdk-core/src/main/java/com/amazonaws/c3r/data/ClientDataType.java [184:207]


    public ClientDataType getRepresentativeType() {
        switch (this) {
            case CHAR:
            case STRING:
            case VARCHAR:
                return STRING;
            case SMALLINT:
            case INT:
            case BIGINT:
                return BIGINT;
            case BOOLEAN:
                return BOOLEAN;
            case DATE:
                return DATE;
            case TIMESTAMP:
            case DECIMAL:
            case DOUBLE:
            case FLOAT:
            case UNKNOWN:
                throw new C3rRuntimeException(this + " data type is not supported in Fingerprint Columns.");
            default:
                throw new C3rRuntimeException("Unknown ClientDataType: " + this);
        }
    }