Examples of SQLVarchar


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

        TabInfoImpl ti = getNonCoreTI(SYSSEQUENCES_CATALOG_NUM);

        /* Use sequenceNameOrderable and schemaIdOrderable in both start
           * and stop position for scan.
           */
        sequenceNameOrderable = new SQLVarchar(sequenceName);
        schemaIDOrderable = getIDValueAsCHAR(sd.getUUID());

        /* Set up the start/stop position for the scan */
        ExecIndexRow keyRow = exFactory.getIndexableRow(2);
        keyRow.setColumn(1, schemaIDOrderable);
View Full Code Here

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

    TabInfoImpl            ti = coreInfo[SYSSCHEMAS_CORE_NUM];

    /* Use aliasNameOrderable in both start
     * and stop position for scan.
     */
    schemaNameOrderable = new SQLVarchar(schemaName);

    /* Set up the start/stop position for the scan */
    ExecIndexRow keyRow = exFactory.getIndexableRow(1);
    keyRow.setColumn(1, schemaNameOrderable);

View Full Code Here

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

      heapCC = tc.openConglomerate(
        ti.getHeapConglomerate(), false, 0,
        TransactionController.MODE_RECORD,
        TransactionController.ISOLATION_REPEATABLE_READ);

    DataValueDescriptor authIdOrderable = new SQLVarchar(authid);
    ScanQualifier[][] scanQualifier = exFactory.getScanQualifier(1);

    scanQualifier[0][0].setQualifier(
      SYSSCHEMASRowFactory.SYSSCHEMAS_SCHEMAAID - 1/* to zero-based */
      authIdOrderable,
 
View Full Code Here

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

    DataValueDescriptor granteeOrderable;
    DataValueDescriptor grantorOrderable;

    TabInfoImpl ti = getNonCoreTI(SYSROLES_CATALOG_NUM);

    roleNameOrderable = new SQLVarchar(roleName);
    granteeOrderable = new SQLVarchar(grantee);
    grantorOrderable = new SQLVarchar(grantor);

    ExecIndexRow keyRow = null;

    /* Set up the start/stop position for the scan */
    keyRow = exFactory.getIndexableRow(3);
View Full Code Here

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

    }

    /* Use schemaNameOrderable in both start
     * and stop position for index 1 scan.
     */
    schemaNameOrderable = new SQLVarchar(schemaName);

    /* Set up the start/stop position for the scan */
    keyRow1 = exFactory.getIndexableRow(1);
    keyRow1.setColumn(1, schemaNameOrderable);

View Full Code Here

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

    TabInfoImpl            ti = coreInfo[SYSTABLES_CORE_NUM];

    /* Use tableNameOrderable and schemaIdOrderable in both start
     * and stop position for scan.
     */
    tableNameOrderable = new SQLVarchar(tableName);
    schemaIDOrderable = new SQLChar(schemaUUID);

    /* Set up the start/stop position for the scan */
    ExecIndexRow keyRow = exFactory.getIndexableRow(2);
    keyRow.setColumn(1, tableNameOrderable);
View Full Code Here

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

    TabInfoImpl          ti = coreInfo[SYSTABLES_CORE_NUM];

    /* Use tableIdOrderable and schemaIdOrderable in both start
     * and stop position for index 1 scan.
     */
    tableNameOrderable = new SQLVarchar(td.getName());
    schemaIDOrderable = getIDValueAsCHAR(schema.getUUID());

    /* Set up the start/stop position for the scan */
    keyRow1 = (ExecIndexRow) exFactory.getIndexableRow(2);
    keyRow1.setColumn(1, tableNameOrderable);
View Full Code Here

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

    SYSTABLESRowFactory  rf = (SYSTABLESRowFactory) ti.getCatalogRowFactory();

    /* Use tableIdOrderable and schemaIdOrderable in both start
     * and stop position for index 1 scan.
     */
    tableNameOrderable = new SQLVarchar(td.getName());
    schemaIDOrderable = getIDValueAsCHAR(schema.getUUID());

    /* Set up the start/stop position for the scan */
    keyRow1 = (ExecIndexRow) exFactory.getIndexableRow(2);
    keyRow1.setColumn(1, tableNameOrderable);
View Full Code Here

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

    void upgradeCLOBGETSUBSTRING_10_6( TransactionController tc )
        throws StandardException
    {
    TabInfoImpl          ti = getNonCoreTI(SYSALIASES_CATALOG_NUM);
    ExecIndexRow         keyRow = exFactory.getIndexableRow(3);
    DataValueDescriptor  aliasNameOrderable = new SQLVarchar( "CLOBGETSUBSTRING" );;
    DataValueDescriptor   nameSpaceOrderable = new SQLChar
            ( new String( new char[] { AliasInfo.ALIAS_TYPE_FUNCTION_AS_CHAR } ) );
       
    keyRow.setColumn(1, new SQLChar( SchemaDescriptor.SYSIBM_SCHEMA_UUID ));
    keyRow.setColumn(2, aliasNameOrderable);
View Full Code Here

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

    /* 1st column is STMTID */
    row.setColumn(1, new SQLChar(uuidStr));

    /* 2nd column is STMTNAME */
    row.setColumn(2, new SQLVarchar(name));

    /* 3rd column is SCHEMAID */
    row.setColumn(3, new SQLChar(suuidStr));

    /* 4th column is TYPE */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.