Package org.apache.derby.iapi.types

Examples of org.apache.derby.iapi.types.DataTypeDescriptor


    default:
      jj_la1[49] = jj_gen;
      ;
    }
                checkTypeLimits(type,length);
                DataTypeDescriptor charDTD = DataTypeDescriptor.getBuiltInDataTypeDescriptor(type, length);
                {if (true) return charDTD;}
    throw new Error("Missing return statement in function");
  }
View Full Code Here


/*
* <A NAME="nationalCharacterStringType">nationalCharacterStringType</A>
*/
  final public DataTypeDescriptor nationalCharacterStringType() throws ParseException, StandardException {
        DataTypeDescriptor      dataTypeDescriptor;
        int                                     length = DEFAULT_STRING_COLUMN_LENGTH;
        String                          type = null;
        Token                           varyingToken = null;
    switch (jj_nt.kind) {
    case NATIONAL:
View Full Code Here

    default:
      jj_la1[60] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
                DataTypeDescriptor dtd = DataTypeDescriptor.getBuiltInDataTypeDescriptor(type, length);

                {if (true) return dtd;}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="numericType">numericType</A>
*/
  final public DataTypeDescriptor numericType() throws ParseException, StandardException {
        DataTypeDescriptor      typeDescriptor;
    switch (jj_nt.kind) {
    case DEC:
    case DECIMAL:
    case INT:
    case INTEGER:
View Full Code Here

        int precision = TypeCompiler.DEFAULT_DECIMAL_PRECISION;
        int scale = TypeCompiler.DEFAULT_DECIMAL_SCALE;
        int type = Types.DECIMAL;
        String typeStr = "DECIMAL";
        int maxWidth;
        DataTypeDescriptor dtd =  null;
    switch (jj_nt.kind) {
    case DEC:
    case DECIMAL:
    case NUMERIC:
      switch (jj_nt.kind) {
View Full Code Here

* <A NAME="approximateNumericType">approximateNumericType</A>
*/
  final public DataTypeDescriptor approximateNumericType() throws ParseException, StandardException {
        int type = 0, scale = 0, width = 0;
        int prec = -1;
        DataTypeDescriptor dts = null;
    switch (jj_nt.kind) {
    case FLOAT:
      jj_consume_token(FLOAT);
      switch (jj_nt.kind) {
      case LEFT_PAREN:
View Full Code Here

/*
* <A NAME="longType">longType</A>
*/
  final public DataTypeDescriptor longType() throws ParseException, StandardException {
        DataTypeDescriptor      dataTypeDescriptor;
    jj_consume_token(LONG);
    dataTypeDescriptor = longSubType();
                {if (true) return dataTypeDescriptor;}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="XMLType">XMLType</A>
*/
  final public DataTypeDescriptor XMLType() throws ParseException, StandardException {
        DataTypeDescriptor value;
    jj_consume_token(XML);
                checkVersion(DataDictionary.DD_VERSION_DERBY_10_1, "XML");
                {if (true) return DataTypeDescriptor.getBuiltInDataTypeDescriptor(
                        StoredFormatIds.XML_TYPE_ID);}
    throw new Error("Missing return statement in function");
View Full Code Here

/*
* <A NAME="dataTypeScalarFunction">dataTypeScalarFunction</A>
*/
  final public ValueNode dataTypeScalarFunction() throws ParseException, StandardException {
        DataTypeDescriptor dts;
        ValueNode value;           //converted result
        ValueNode operand;
        int charType;
        int length = -1;
    switch (jj_nt.kind) {
View Full Code Here

* 1          |<simp> doc </simp>
*
*/
  final public ValueNode xmlSerializeValue() throws ParseException, StandardException {
        ValueNode value;
        DataTypeDescriptor targetType;
    value = additiveExpression(null,0,false);
    targetType = xmlSerializeTargetType();
                {if (true) return (ValueNode) nodeFactory.getNode(
                                        C_NodeTypes.XML_SERIALIZE_OPERATOR_NODE,
                                        value,
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.types.DataTypeDescriptor

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.