| | |
| | | public boolean getIndexTrustState(Transaction txn, Index index) |
| | | throws DatabaseException |
| | | { |
| | | String sortName = |
| | | index.getName().replace(entryContainer.getDatabasePrefix(), ""); |
| | | DatabaseEntry key = |
| | | new DatabaseEntry(StaticUtils.getBytes(index.getName())); |
| | | new DatabaseEntry(StaticUtils.getBytes(sortName)); |
| | | DatabaseEntry data = new DatabaseEntry(); |
| | | |
| | | OperationStatus status; |
| | |
| | | boolean trusted) |
| | | throws DatabaseException |
| | | { |
| | | String sortName = |
| | | index.getName().replace(entryContainer.getDatabasePrefix(), ""); |
| | | DatabaseEntry key = |
| | | new DatabaseEntry(StaticUtils.getBytes(index.getName())); |
| | | new DatabaseEntry(StaticUtils.getBytes(sortName)); |
| | | DatabaseEntry data = new DatabaseEntry(); |
| | | |
| | | if(trusted) |
| | |
| | | } |
| | | return true; |
| | | } |
| | | |
| | | // TODO: Make sure to update the VLV state access methods to use shortname. |
| | | } |