Examples of reset()


Examples of org.hsqldb.ParserDQL.CompileContext.reset()

    static QuerySpecification getCheckSelect(Session session, Table t,
            Expression e) {

        CompileContext compileContext = new CompileContext(session, null);

        compileContext.reset(0);

        QuerySpecification s = new QuerySpecification(compileContext);
        RangeVariable[] ranges = new RangeVariable[]{
            new RangeVariable(t, null, null, null, compileContext) };
View Full Code Here

Examples of org.hsqldb.lib.CharArrayWriter.reset()

        long            currentOffset = result.getOffset();
        int             bufferLength  = session.getStreamBlockSize();
        CharArrayWriter charWriter    = new CharArrayWriter(bufferLength);

        while (true) {
            charWriter.reset();
            charWriter.write(reader, bufferLength);

            char[] charArray = charWriter.getBuffer();

            if (charWriter.size() < bufferLength) {
View Full Code Here

Examples of org.hsqldb.lib.HsqlByteArrayOutputStream.reset()

        dataOut.writeInt(subType);

        HsqlByteArrayOutputStream byteArrayOS =
            new HsqlByteArrayOutputStream(bufferLength);

        byteArrayOS.reset();
        byteArrayOS.write(stream, bufferLength);
        dataOut.writeLong(currentOffset);
        dataOut.writeLong(byteArrayOS.size());
        dataOut.write(byteArrayOS.getBuffer(), 0, byteArrayOS.size());
View Full Code Here

Examples of org.hsqldb.navigator.RangeIterator.reset()

                    if (data != null) {
                        newData.add(data);
                    }
                }

                it.reset();

                currentIndex--;

                continue;
            }
View Full Code Here

Examples of org.hsqldb.navigator.RowSetNavigator.reset()

                Object[] data = navigator.getCurrent();

                registerLobsForRow(data);
            }

            navigator.reset();
        }

        resultLobs.clear();
    }
View Full Code Here

Examples of org.hsqldb.navigator.RowSetNavigatorData.reset()

            if (rowCount >= limitcount) {
                break;
            }
        }

        navigator.reset();

        for (int i = 0; i < rangeVariables.length; i++) {
            rangeIterators[i].reset();
        }
View Full Code Here

Examples of org.hsqldb.rowio.RowOutputBinary.reset()

        it    = table.rowIterator(session);

        for (; it.hasNext(); count++) {
            CachedObject row = it.next();

            rowOut.reset();
            row.write(rowOut, pointerLookup);
            fileStreamOut.write(rowOut.getOutputStream().getBuffer(), 0,
                                rowOut.size());

            fileOffset += row.getStorageSize();
View Full Code Here

Examples of org.hsqldb.rowio.RowOutputInterface.reset()

        it    = table.rowIterator(store);

        for (; it.hasNext(); count++) {
            CachedObject row = it.getNextRow();

            rowOut.reset();
            row.write(rowOut, pointerLookup);
            fileStreamOut.write(rowOut.getOutputStream().getBuffer(), 0,
                                rowOut.size());

            fileOffset += row.getStorageSize();
View Full Code Here

Examples of org.hsqldb_voltpatches.navigator.RangeIterator.reset()

                    currentIndex++;

                    continue;
                }
            } else {
                it.reset();

                currentIndex--;

                continue;
            }
View Full Code Here

Examples of org.hsqldb_voltpatches.navigator.RowSetNavigator.reset()

                }
            }
        }

        resultLobs.clear();
        navigator.reset();
    }

    //
    public void startRowProcessing() {
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.