Package org.tmatesoft.sqljet.core.internal

Examples of org.tmatesoft.sqljet.core.internal.ISqlJetVdbeMem.intValue()


     */
    public long getIntField(int field) {
        final ISqlJetVdbeMem f = fields.get(field);
        if (null == f)
            return 0;
        return f.intValue();
    }

    /*
     * (non-Javadoc)
     *
 
View Full Code Here


        final ISqlJetVdbeMem value = getValueMem(field);
        if (value == null || value.isNull())
            return null;
        switch (value.getType()) {
        case INTEGER:
            return value.intValue();
        case FLOAT:
            return value.realValue();
        case TEXT:
            return SqlJetUtility.toString(value.valueText(getEncoding()), getEncoding());
        case BLOB:
View Full Code Here

     */
    public long getInteger(int field) throws SqlJetException {
        final ISqlJetVdbeMem value = getValueMem(field);
        if (value == null || value.isNull())
            return 0;
        return value.intValue();
    }

    /*
     * (non-Javadoc)
     *
 
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.