code: @Override
      public void writeUberBucket(UberBucket pBucket) throws TTException {
          long bucketKey = pBucket.getBucketKey();
          write(pBucket);
  
          final DatabaseEntry keyEntry = new DatabaseEntry();
          TupleBinding.getPrimitiveBinding(Long.class).objectToEntry(-1l, keyEntry);
  
          final DatabaseEntry valueEntry = new DatabaseEntry();
          TupleBinding.getPrimitiveBinding(Long.class).objectToEntry(bucketKey, valueEntry);
  
          try {
              mDatabase.put(null, keyEntry, valueEntry);
          } catch (final DatabaseException exc) {
              throw new TTIOException(exc);
          }
      }
docs: {@inheritDoc}