Package org.apache.derby.catalog.types

Examples of org.apache.derby.catalog.types.TypeDescriptorImpl


    String          colName = null;
    String          defaultID = null;
    String          tabID = null;
    Integer          colID = null;
    TypeDescriptorImpl    typeDesc = null;
    Object          defaultSerializable = null;
    long          autoincStart = 0;
    long          autoincInc = 0;
    long          autoincValue = 0;
    //The SYSCOLUMNS table's autoinc related columns change with different
View Full Code Here


    ** intended to be movable to the client, so they don't have
    ** the entire implementation.  We need to wrap them in DataTypeServices
    ** and TypeId objects that contain the full implementations for
    ** language processing.
    */
    TypeDescriptorImpl typeDescriptor = (TypeDescriptorImpl) row.getColumn(SYSCOLUMNS_COLUMNDATATYPE).
                          getObject();
    typeId = typeDescriptor.getTypeId();

    /*
    ** The BaseTypeIdImpl tells what type of TypeId it is supposed to
    ** be wrapped in.
    */
 
View Full Code Here

   */
  public DataTypeDescriptor(TypeId typeId, int precision, int scale,
    boolean isNullable, int maximumWidth)
  {
    this.typeId = typeId;
    typeDescriptor = new TypeDescriptorImpl(typeId.getBaseTypeId(),
                        precision,
                        scale,
                        isNullable,
                        maximumWidth);
  }
View Full Code Here

  public DataTypeDescriptor(TypeId typeId, int precision, int scale,
    boolean isNullable, int maximumWidth, int collationType,
    int collationDerivation)
  {
    this.typeId = typeId;
    typeDescriptor = new TypeDescriptorImpl(typeId.getBaseTypeId(),
                        precision,
                        scale,
                        isNullable,
                        maximumWidth,
                        collationType,
View Full Code Here

   */
  public DataTypeDescriptor(TypeId typeId, boolean isNullable,
    int maximumWidth)
  {
    this.typeId = typeId;
    typeDescriptor = new TypeDescriptorImpl(typeId.getBaseTypeId(),
                        isNullable,
                        maximumWidth);
  }
View Full Code Here


  public DataTypeDescriptor(TypeId typeId, boolean isNullable) {

    this.typeId = typeId;
    typeDescriptor = new TypeDescriptorImpl(typeId.getBaseTypeId(),
                        typeId.getMaximumPrecision(),
                        typeId.getMaximumScale(),
                        isNullable,
                        typeId.getMaximumMaximumWidth());
  }
View Full Code Here

    //ColumnDescriptor(CD), the RC's TypeDescriptorImpl(TDI) should get
    //all the attributes of CD's TDI. So, if the CD is for a user table's
    //character type column, then this call by RC.init should have CD's
    //collation attributes copied into RC along with other attributes.
    this.typeId = source.typeId;
    typeDescriptor = new TypeDescriptorImpl(source.typeDescriptor,
                        source.getPrecision(),
                        source.getScale(),
                        isNullable,
                        source.getMaximumWidth(),
                        source.getCollationType(),
View Full Code Here

                int scale,
                boolean isNullable,
                int maximumWidth)
  {
    this.typeId = source.typeId;
    typeDescriptor = new TypeDescriptorImpl(source.typeDescriptor,
                        precision,
                        scale,
                        isNullable,
                        maximumWidth,
                        source.getCollationType(),
View Full Code Here

   */
  public DataTypeDescriptor(DataTypeDescriptor source, boolean isNullable,
    int maximumWidth)
  {
    this.typeId = source.typeId;
    typeDescriptor = new TypeDescriptorImpl(source.typeDescriptor,
        source.getPrecision(),
        source.getScale(),
        isNullable,
        maximumWidth,
        source.getCollationType(),
View Full Code Here

    String          colName = null;
    String          defaultID = null;
    String          tabID = null;
    Integer          colID = null;
    TypeDescriptorImpl    typeDesc = null;
    Object          defaultSerializable = null;
    long          autoincStart = 0;
    long          autoincInc = 0;

    if (td != null)
View Full Code Here

TOP

Related Classes of org.apache.derby.catalog.types.TypeDescriptorImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.