matTableName = RelationalPlanner.MAT_PREFIX+table.getFullName().toUpperCase(); TempMetadataID id = globalStore.getGlobalTempTableMetadataId(matTableName); if (id != null && id.getCacheHint() != null && id.getCacheHint().getScope() != null && Scope.VDB.compareTo(id.getCacheHint().getScope()) > 0) {
private GlobalTableStore getGlobalStore(final CommandContext context, TempMetadataID matTableId) { GlobalTableStore globalStore = context.getGlobalTableStore(); if (matTableId.getCacheHint() == null || matTableId.getCacheHint().getScope() == null || Scope.VDB.compareTo(matTableId.getCacheHint().getScope()) <= 0) { return globalStore; } throw new AssertionError("session scoping not supported"); //$NON-NLS-1$ }
private GlobalTableStore getGlobalStore(final CommandContext context, TempMetadataID matTableId) { GlobalTableStore globalStore = context.getGlobalTableStore(); if (matTableId.getCacheHint() == null || matTableId.getCacheHint().getScope() == null || Scope.VDB.compareTo(matTableId.getCacheHint().getScope()) <= 0) { return globalStore; } throw new AssertionError("session scoping not supported"); //$NON-NLS-1$ }
(response.getScope() == null || response.getScope().compareTo(this.securityContext.getScope()) > 0)) { response.setScope(this.securityContext.getScope());
(response.getScope() == null || response.getScope().compareTo(this.securityContext.getScope()) > 0)) { response.setScope(this.securityContext.getScope());
(response.getScope() == null || response.getScope().compareTo(this.securityContext.getScope()) > 0)) { response.setScope(this.securityContext.getScope());
table.setUpdatable(hint.isUpdatable(false)); if (determinism.compareTo(Determinism.VDB_DETERMINISTIC) < 0 && (hint == null || hint.getScope() == null || Scope.VDB.compareTo(hint.getScope()) <= 0)) {
table.setUpdatable(hint.isUpdatable(false)); if (determinism.compareTo(Determinism.VDB_DETERMINISTIC) < 0 && (hint == null || hint.getScope() == null || Scope.VDB.compareTo(hint.getScope()) <= 0)) {
table.setUpdatable(hint.isUpdatable(false)); if (determinism.compareTo(Determinism.VDB_DETERMINISTIC) < 0 && (hint == null || hint.getScope() == null || Scope.VDB.compareTo(hint.getScope()) <= 0)) {
private GlobalTableStore getGlobalStore(final CommandContext context, TempMetadataID matTableId) { GlobalTableStore globalStore = context.getGlobalTableStore(); if (matTableId.getCacheHint() == null || matTableId.getCacheHint().getScope() == null || Scope.VDB.compareTo(matTableId.getCacheHint().getScope()) <= 0) { return globalStore; } return context.getSessionScopedStore(true); }