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) {
public void setScope(String scope) { if (scope == null) { setScope((Scope)null); } else { setScope(Scope.valueOf(scope.toUpperCase())); } }
log(report, model, Severity.WARNING, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31252, t.getName(), cacheHint.getScope().name())); t.setProperty(MaterializationMetadataRepository.MATVIEW_SHARE_SCOPE, MaterializationMetadataRepository.Scope.IMPORTED.name());
(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());
log(report, model, Severity.WARNING, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31252, t.getName(), cacheHint.getScope().name())); t.setProperty(MaterializationMetadataRepository.MATVIEW_SHARE_SCOPE, MaterializationMetadataRepository.Scope.IMPORTED.name());
log(report, model, Severity.WARNING, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31252, t.getName(), cacheHint.getScope().name())); t.setProperty(MaterializationMetadataRepository.MATVIEW_SHARE_SCOPE, MaterializationMetadataRepository.Scope.IMPORTED.name());
(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)) {
public void setScope(String scope) { if (scope == null) { setScope((Scope)null); } else { setScope(Scope.valueOf(scope.toUpperCase())); } }
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); }
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$ }
public void setScope(String scope) { if (scope == null) { setScope((Scope)null); } else { setScope(Scope.valueOf(scope.toUpperCase())); } }
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$ }