Package org.apache.derby.client.am

Examples of org.apache.derby.client.am.ColumnMetaData


    protected ColumnMetaData parseSQLCINRD() throws DisconnectException {
        parseLengthAndMatchCodePoint(CodePoint.SQLCINRD);
        int ddmLength = getDdmLength();
        ensureBLayerDataInBuffer(ddmLength);
        ColumnMetaData cm = parseSQLCINRDarray();
        adjustLengths(getDdmLength());
        return cm;
    }
View Full Code Here


    // SQL Result Set Column Information Reply Data (SQLCINRD) is a byte string
    // that specifies information about columns for a result set returned as
    // reply data in the response to an EXCSQLSTT command that invodes a stored
    // procedure
    ColumnMetaData parseSQLCINRDarray() throws DisconnectException {
        ColumnMetaData columnMetaData = ClientDriver.getFactory().newColumnMetaData(netAgent_.logWriter_);

        parseSQLDHROW(columnMetaData);

        // possibly change initializeCache to not new up arrays if
        // parseSQLNUMROW returns 0
        columnMetaData.initializeCache(parseFastSQLNUMROW());

        // is this correct for 0 SQLNUMROW,
        // does rest of code expect a null ColumnMetaData object
        // or does rest of code expect an non null object
        // with columns_ set to 0
View Full Code Here

     * @param logWriter LogWriter
     * @return a ColumnMetaData implementation
     *
     */
    public ColumnMetaData newColumnMetaData(LogWriter logWriter) {
        return new ColumnMetaData(logWriter);
    }
View Full Code Here

     * @param upperBound int
     * @return a ColumnMetaData implementation
     *
     */
    public ColumnMetaData newColumnMetaData(LogWriter logWriter, int upperBound) {
        return new ColumnMetaData(logWriter,upperBound);
    }
View Full Code Here

TOP

Related Classes of org.apache.derby.client.am.ColumnMetaData

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.