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

com.torodb.backend.udt.MongoObjectIdUDT Maven / Gradle / Ivy

There is a newer version: 0.50.3
Show newest version
/*
 * ToroDB
 * Copyright © 2014 8Kdata Technology (www.8kdata.com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see .
 */

package com.torodb.backend.udt;

import com.torodb.backend.meta.TorodbSchema;
import com.torodb.backend.udt.record.MongoObjectIdRecord;
import org.jooq.impl.UDTImpl;

/**
 * This class is generated by jOOQ.
 */
@javax.annotation.Generated(value = {"http://www.jooq.org", "3.4.1"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class MongoObjectIdUDT extends UDTImpl {

  private static final long serialVersionUID = -552117608;

  /**
   * The singleton instance of torodb.mongo_object_id
   */
  public static final MongoObjectIdUDT MONGO_OBJECT_ID = new MongoObjectIdUDT();

  /**
   * The class holding records for this type
   */
  @Override
  public Class getRecordType() {
    return MongoObjectIdRecord.class;
  }

  public static final org.jooq.UDTField UPPPER = createField("upper",
      org.jooq.impl.SQLDataType.INTEGER, MONGO_OBJECT_ID);

  public static final org.jooq.UDTField MIDDLE = createField("middle",
      org.jooq.impl.SQLDataType.INTEGER, MONGO_OBJECT_ID);

  public static final org.jooq.UDTField LOWER = createField("lower",
      org.jooq.impl.SQLDataType.INTEGER, MONGO_OBJECT_ID);

  /**
   * No further instances allowed
   */
  private MongoObjectIdUDT() {
    super("mongo_object_id", TorodbSchema.TORODB);

    // Initialise data type
    getDataType();
  }

  @Override
  public boolean equals(Object that) {
    return super.equals(that);
  }

  @Override
  public int hashCode() {
    return super.hashCode();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy