Package org.chaidb.db.exception

Examples of org.chaidb.db.exception.ChaiDBException


                    ((IDuplicatedKeyBTree) btree).store(key, value, mode.modeId, kc);
                    return;
                default:
                    break;
            }
            throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);
    }
View Full Code Here


            case IBTreeConst.HYPER_BTREE:
                return ((IDuplicatedKeyBTree) btree).delete(key, kc);
            default:
                break;
        }
        throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);
    }
View Full Code Here

            case IBTreeConst.HYPER_BTREE:
                return ((IDuplicatedKeyBTree) btree).delete(key, value, kc);
            default:
                break;
        }
        throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);
    }
View Full Code Here

            case IBTreeConst.BTREE:
                return ((ISingleKeyBTree) btree).lookup(key, kc);
            default:
                break;
        }
        throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);

    }
View Full Code Here

            case IBTreeConst.HYPER_BTREE:
                return ((IDuplicatedKeyBTree) btree).lookup(key, kc);
            default:
                break;
        }
        throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);
    }
View Full Code Here

            ArrayList params = new ArrayList(2);
            // required
            params.add(Key.KEY_TYPES[Key.NODE_ID_KEY]);
            // found
            params.add(Key.KEY_TYPES[keyType]);
            throw new ChaiDBException(ErrorCode.INDEX_KEY_TYPE_ERROR, params);
        }
    }
View Full Code Here

            case IBTreeConst.HYPER_BTREE:
                return ((IDuplicatedKeyBTree) btree).rangeLookup(minKey, maxKey, includeMinKey, includeMaxKey, kc);
            default:
                break;
        }
        throw new ChaiDBException(ErrorCode.INVALID_INDEX_TYPE);
    }
View Full Code Here

            }
            releasePage(dataPageNum, true);

        } catch (Exception e) {
            logger.debug(e);
            throw new ChaiDBException(ErrorCode.LOG_REDO_FAILED, e.toString());
        }
        return true;
    }
View Full Code Here

             */


        } catch (Exception e) {
            logger.debug(e);
            throw new ChaiDBException(ErrorCode.LOG_UNDO_FAILED, e.toString());
        }
        return true;
    }
View Full Code Here

            ArrayList params = new ArrayList(2);
            // required
            params.add(Key.KEY_TYPES[Key.FLOAT_KEY]);
            // found
            params.add(Key.KEY_TYPES[keyType]);
            throw new ChaiDBException(ErrorCode.INDEX_KEY_TYPE_ERROR, params);
        }
    }
View Full Code Here

TOP

Related Classes of org.chaidb.db.exception.ChaiDBException

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.