Package com.mysql.clusterj

Examples of com.mysql.clusterj.ClusterJDatastoreException


    public void setBoundLong(Column storeColumn, BoundType type, long value) {
        try {
            ndbIndexScanOperation.setBoundLong(storeColumn.getName(), convertBoundType(type), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here


    public void setBoundString(Column storeColumn, BoundType type, String value) {
        try {
            ndbIndexScanOperation.setBoundString(storeColumn.getName(), convertBoundType(type), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void setBoundTimestamp(Column storeColumn, BoundType type, Timestamp value) {
        try {
            ndbIndexScanOperation.setBoundTimestamp(storeColumn.getName(), convertBoundType(type), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public com.mysql.clusterj.core.store.Dictionary getDictionary() {
        try {
            return new DictionaryImpl(ndb.getDictionary());
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public ClusterTransaction startTransaction() {
        try {
            return new ClusterTransactionImpl(ndb.startTransaction());
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void begin() {
        try {
            scanFilter.begin();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void begin(Group group) {
        try {
            scanFilter.begin(convertGroup(group));
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void cmpBytes(BinaryCondition condition, Column storeColumn, byte[] value) {
        try {
            scanFilter.cmp(convertCondition(condition), storeColumn.getName(), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void cmpDouble(BinaryCondition condition, Column storeColumn, double value) {
        try {
            scanFilter.cmp(convertCondition(condition), storeColumn.getName(), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void cmpFloat(BinaryCondition condition, Column storeColumn, float value) {
        try {
            scanFilter.cmp(convertCondition(condition), storeColumn.getName(), value);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

TOP

Related Classes of com.mysql.clusterj.ClusterJDatastoreException

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.