Package org.apache.derby.iapi.types

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


                result[0] = vi;
            }
        }

        final DataValueDescriptor[] hashRowArray = new DataValueDescriptor[1];
        hashRowArray[0] = new SQLRef(offendingRow).cloneValue(true);
        deferredCheckViolations.putRow(true, hashRowArray, null);

        return deferredCheckViolations;
    }
View Full Code Here


            // containing the RowLocation of the target row.

            rowsFound = true;

            rlColumn = _row.getColumn( _row.nColumns() );
            SQLRef             baseRowLocation = null;

            boolean matched = false;
            if ( rlColumn != null )
            {
                if ( !rlColumn.isNull() )
                {
                    matched = true;
                   
                    // change the HeapRowLocation into a SQLRef, something which the
                    // temporary table can (de)serialize correctly
                    baseRowLocation = new SQLRef( (RowLocation) rlColumn.getObject() );
                    _row.setColumn( _row.nColumns(), baseRowLocation );
                }
            }

            // find the first clause which applies to this row
View Full Code Here

        if (triggerInfo == null)
        {
                    boolean allOk = evaluateCheckConstraints();
                    if (!allOk) {
                        DataValueDescriptor[] rw = row.getRowArray();
                        SQLRef r = (SQLRef)rw[rw.length - 1];
                        RowLocation baseRowLocation =
                            (RowLocation)r.getObject();

                        deferredChecks =
                            DeferredConstraintsMemory.rememberCheckViolations(
                                lcc,
                                constants.targetUUID,
View Full Code Here

TOP

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

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.