Examples of reset()


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

            if (navigator.getSize() >= limitcount) {
                break;
            }
        }

        navigator.reset();

        if (!isGrouped && !isAggregated) {
            return result;
        }
View Full Code Here

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

        it    = table.rowIterator(session);

        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.rowio.RowOutputInterface.reset()

        it    = table.rowIterator(session);

        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.htmlparser.Parser.reset()

    if (isContentCutted) {
      // This means a new parser run which is expensive but neccessary
      htmlPage = new Page(rawDocument.getContentAsString(), "UTF-8");
      parser = new Parser(new Lexer(htmlPage));
    } else {
      parser.reset();
    }

    try {
      // Parse the content
      parser.visitAllNodesWith(linkVisitor);
View Full Code Here

Examples of org.htmlparser.lexer.Source.reset()

        source = new InputStreamSource (new Stream (new ByteArrayInputStream (reference.getBytes (DEFAULT_CHARSET))), null);
        buffer = new StringBuffer (reference.length ());
        while (-1 != (c = source.read ()))
            buffer.append ((char)c);
        assertTrue ("string incorrect", reference.equals (buffer.toString ()));
        source.reset ();
        buffer.setLength (0);
        while (-1 != (c = source.read ()))
            buffer.append ((char)c);
        assertTrue ("string incorrect", reference.equals (buffer.toString ()));
        source.close ();
View Full Code Here

Examples of org.htmlparser.lexer.Stream.reset()

            for (int i = 0; i < 1000; i++)
            {
                b = stream.read ();
                bytes1.add (new Byte ((byte)b));
            }
            stream.reset ();
            for (int i = 0; i < 1000; i++)
            {
                b = stream.read ();
                bytes2.add (new Byte ((byte)b));
            }
View Full Code Here

Examples of org.hypertable.thrift.SerializedCellsReader.reset()

                }
                if (!resMap.isEmpty())
                    result.putAll(resMap.firstElement());
            } else {
                SerializedCellsReader reader = new SerializedCellsReader(null);
                reader.reset(connection.get_row_serialized(ns, table, key));
                while (reader.next()) {
                    result.put(new String(reader.get_column_qualifier()),
                            new ByteArrayByteIterator(reader.get_value()));
                }
            }
View Full Code Here

Examples of org.impalaframework.graph.Vertex.reset()

        deps = v.getDependencies();
        assertNotNull( deps );
        assertEquals( 1, deps.size() );

        v.reset();
        w.reset();
       
        try
        {
            v.resolveOrder();
            w.resolveOrder();
View Full Code Here

Examples of org.infernus.idea.checkstyle.util.ModuleClassPathBuilder.reset()

    }

    private void resetModuleClassBuilder() {
        final ModuleClassPathBuilder moduleClassPathBuilder = ServiceManager.getService(project, ModuleClassPathBuilder.class);
        if (moduleClassPathBuilder != null) {
            moduleClassPathBuilder.reset();
        }
    }

    private CheckStyleConfiguration getConfiguration() {
        return ServiceManager.getService(project, CheckStyleConfiguration.class);
View Full Code Here

Examples of org.infinispan.cli.interpreter.session.Session.reset()

         PrintWriter pw = new PrintWriter(sw);
         t.printStackTrace(pw);
         response.put(ResultKeys.STACKTRACE.toString(), sw.toString());
      } finally {
         if (session != null) {
            session.reset();
            response.put(ResultKeys.CACHE.toString(), session.getCurrentCacheName());
         }
         SysPropertyActions.setThreadContextClassLoader(oldCL);

      }
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.