public Session openSession(String resource, String indexName, Object secondaryIndexKey, Interceptor interceptor) {
return openSession(hive.directory().getNodeIdsOfSecondaryIndexKey(resource, indexName, secondaryIndexKey), wrapWithHiveInterceptor(interceptor));
}
public Interceptor getDefaultInterceptor() {
return new HiveInterceptorDecorator(config, hive);
}