All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mongodb.jdbc.Column Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package com.mongodb.jdbc;

import org.bson.BsonValue;

public class Column {
    public String database;
    public String table;
    public String tableAlias;
    public String column;
    public String columnAlias;
    public String bsonType;
    public BsonValue value;

    public Column() {}

    public Column(
            String database,
            String table,
            String tableAlias,
            String column,
            String columnAlias,
            String bsonType,
            BsonValue value) {
        this.database = database;
        this.table = table;
        this.tableAlias = tableAlias;
        this.column = column;
        this.columnAlias = columnAlias;
        this.bsonType = bsonType;
        this.value = value;
    }

    @Override
    public String toString() {
        return "Column{"
                + "database='"
                + database
                + '\''
                + ", table='"
                + table
                + '\''
                + ", tableAlias='"
                + tableAlias
                + '\''
                + ", column='"
                + column
                + '\''
                + ", columnAlias='"
                + columnAlias
                + '\''
                + ", bsonType="
                + bsonType
                + '\''
                + ", value="
                + value
                + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy