opendap/src/main/java/opendap/servers/SDSequence.java
public Vector getRowVector() throws NoSuchVariableException {


        if (getRowCount() == 0) {
            if (_Debug) System.out.println("This sequence has " + getRowCount() + " rows.");

            Vector rv = new Vector();

            for (int i = 0; i < elementCount(false); i++) {
                if (_Debug) System.out.println("Building variable " + i + ": " + getVar(i).getEncodedName());
                rv.add(getVar(i));
            }
            if (_Debug) System.out.println("Adding row to sequence...");

            addRow(rv);
        }

        return (getRow(0));
    }
public Vector getRowVector() throws NoSuchVariableException {


        if (getRowCount() == 0) {
            if (_Debug) System.out.println("This sequence has " + getRowCount() + " rows.");

            Vector rv = new Vector();

            for (int i = 0; i < elementCount(false); i++) {
                if (_Debug) System.out.println("Building variable " + i + ": " + getVar(i).getEncodedName());
                rv.add(getVar(i));
            }
            if (_Debug) System.out.println("Adding row to sequence...");

            addRow(rv);
        }

        return (getRow(0));
    }
public Vector getRowVector ( ) throws NoSuchVariableException { if ( getRowCount ( ) == 0 ) { if ( _Debug ) System . out . println ( "This sequence has " + getRowCount ( ) + " rows." ) ; Vector rv = new Vector ( ) ; for ( int i = 0 ; i < elementCount ( false ) ; i ++ ) { if ( _Debug ) System . out . println ( "Building variable " + i + ": " + getVar ( i ) . getEncodedName ( ) ) ; rv . add ( getVar ( i ) ) ; } if ( _Debug ) System . out . println ( "Adding row to sequence..." ) ; addRow ( rv ) ; } return ( getRow ( 0 ) ) ; }
Get the row vector for into which to read a row os data for this sequence.
When serving sequence data to clients the prefered method is to read one row
of the sequence at a time in to this vector, evaluate the constraint expression
clauses on the current data, and then send it to the client if it satisfies
the constraint. The NOT recomended way is to read the ENTIRE sequence into memory
prior to sending it (that would be most inefficient).

@return The base (row 0) row vector for this sequence.
Get the row vector for into which to read a row os data for this sequence . When serving sequence data to clients the prefered method is to read one row of the sequence at a time in to this vector evaluate the constraint expression clauses on the current data and then send it to the client if it satisfies the constraint . The NOT recomended way is to read the ENTIRE sequence into memory prior to sending it ( that would be most inefficient ) .