private GetStorageKey(View<E> view) { DatasetDescriptor descriptor = view.getDataset().getDescriptor(); // get serializable versions of transient objects this.strategyString = descriptor.getPartitionStrategy().toString(false /* no white space */); this.schemaString = descriptor.getSchema().toString(false /* no white space */); this.type = view.getType(); if (view instanceof AbstractRefinableView) { this.constraints = ((AbstractRefinableView) view).getConstraints().toQueryMap(); } else { this.constraints = null; } }