Package org.apache.derby.iapi.types

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


      }
            else
            {
        // a value already exists, just replace the second columm

        row[1] = new UserType(value);

        scan.replace(row, (FormatableBitSet) null);
      }

      scan.close();
View Full Code Here


    /* 1st column is DEPENDENTID (UUID - char(36)) */
    row.setColumn(SYSDEPENDS_DEPENDENTID, new SQLChar(dependentID));

    /* 2nd column is DEPENDENTFINDER */
    row.setColumn(SYSDEPENDS_DEPENDENTTYPE,
        new UserType(dependentBloodhound));

    /* 3rd column is PROVIDERID (UUID - char(36)) */
    row.setColumn(SYSDEPENDS_PROVIDERID, new SQLChar(providerID));

    /* 4th column is PROVIDERFINDER */
    row.setColumn(SYSDEPENDS_PROVIDERTYPE,
        new UserType(providerBloodhound));

    return row;
  }
View Full Code Here

    /* 6th column is DESCRIPTOR
    *  (user type org.apache.derby.catalog.IndexDescriptor)
    */
    row.setColumn(6,
      new UserType(
            (indexRowGenerator == null ?
              (IndexDescriptor) null :
              indexRowGenerator.getIndexDescriptor()
            )
          )
View Full Code Here

    /*
    ** 10th column is CONSTANTSTATE
    **
    ** CONSTANTSTATE is really a formatable StorablePreparedStatement.
    */
    row.setColumn(10, new UserType(preparedStatement));

    /* 11th column is INITIALLY_COMPILABLE */
    row.setColumn(11, new SQLBoolean(initiallyCompilable));

    return row;
View Full Code Here

            modifiedColumns.clear(i);
        }
        columns = modifiedColumns;
      }
          curRow.setColumn(SYSCOLPERMSRowFactory.COLUMNS_COL_NUM,
            new UserType((Object) columns));
      ti.updateRow(uuidKey, curRow,
          SYSCOLPERMSRowFactory.COLPERMSID_INDEX_NUM,
           bArray,
           colsToUpdate,
           tc);
View Full Code Here

    /* Set up a couple of row templates for fetching CHARS */

    replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_VALID - 1] =
            new SQLBoolean(false);
    replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_CONSTANTSTATE - 1] =
            new UserType((Object) null);

    /* Scan the entire heap */
    ScanController sc =
            tc.openScan(
                ti.getHeapConglomerate(),
View Full Code Here

            modifiedColumns.clear(i);
        }
        columns = modifiedColumns;
      }
          curRow.setColumn(SYSCOLPERMSRowFactory.COLUMNS_COL_NUM,
            new UserType((Object) columns));
      ti.updateRow(uuidKey, curRow,
          SYSCOLPERMSRowFactory.COLPERMSID_INDEX_NUM,
           bArray,
           colsToUpdate,
           tc);
View Full Code Here

    /* Set up a couple of row templates for fetching CHARS */

    replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_VALID - 1] =
            new SQLBoolean(false);
    replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_CONSTANTSTATE - 1] =
            new UserType((Object) null);

    /* Scan the entire heap */
    ScanController sc =
            tc.openScan(
                ti.getHeapConglomerate(),
View Full Code Here

    row.setColumn
      (SYSALIASES_SYSTEMALIAS, new SQLBoolean(systemAlias));

    /* 8th column is ALIASINFO (org.apache.derby.catalog.AliasInfo) */
    row.setColumn(SYSALIASES_ALIASINFO,
      new UserType(aliasInfo));

    /* 9th column is specific name */
    row.setColumn
      (SYSALIASES_SPECIFIC_NAME, new SQLVarchar(specificName));

View Full Code Here

    private DataValueDescriptor[] makeNewTemplate(String key, Serializable value)
    {
    DataValueDescriptor[] template = new DataValueDescriptor[2];

    template[0] = new UTF(key);
    template[1] = new UserType(value);

        return(template);
    }
View Full Code Here

TOP

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

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.