src/main/java/com/github/ddth/cql/SessionManager.java
public Row executeOne(Statement stm, ConsistencyLevel consistencyLevel) {
        if (consistencyLevel != null) {
            if (consistencyLevel == ConsistencyLevel.SERIAL
                    || consistencyLevel == ConsistencyLevel.LOCAL_SERIAL) {
                stm.setSerialConsistencyLevel(consistencyLevel);
            } else {
                stm.setConsistencyLevel(consistencyLevel);
            }
        }
        return getSession().execute(stm).one();
    }
public Row executeOne(Statement stm, ConsistencyLevel consistencyLevel) {
        if (consistencyLevel != null) {
            if (consistencyLevel == ConsistencyLevel.SERIAL
                    || consistencyLevel == ConsistencyLevel.LOCAL_SERIAL) {
                stm.setSerialConsistencyLevel(consistencyLevel);
            } else {
                stm.setConsistencyLevel(consistencyLevel);
            }
        }
        return getSession().execute(stm).one();
    }
Execute a SELECT query and returns just one row.

<p>
The default session (obtained via {@link #getSession()} is used to execute the query.
</p>

@param stm
@param consistencyLevel
@return
@since 0.4.0.2