Exploit databaseDownload repository ZIP
GH-fdeb092e87df8e0c829cabb4c07ed760
shanika04/apache_kylin
Sources for CVE-2020-1937
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files17
shanika04/apache_kylinRevision d5683f2d25ba
- ↑..Parent directory
- validation/
- AggregationGroup.java
- CubeBuildTypeEnum.java
- CubeDesc.java
- CubeJoinedFlatTableDesc.java
- CubeJoinedFlatTableEnrich.java
- DictionaryDesc.java
- DimensionDesc.java
- HBaseColumnDesc.java
- HBaseColumnFamilyDesc.java
- HBaseMappingDesc.java
- HierarchyDesc.java
- RowKeyColDesc.java
- RowKeyDesc.java
- SelectRule.java
- SnapshotTableDesc.java
- TooManyCuboidException.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
core-cube/src/main/java/org/apache/kylin/cube/model/SnapshotTableDesc.java
Java · 2,421 bytes/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.kylin.cube.model;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.kylin.dict.lookup.SnapshotTable;
@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
public class SnapshotTableDesc implements java.io.Serializable{
@JsonProperty("table_name")
private String tableName;
@JsonProperty("storage_type")
private String storageType = SnapshotTable.STORAGE_TYPE_METASTORE;
@JsonProperty("local_cache_enable")
private boolean enableLocalCache = true;
@JsonProperty("global")
private boolean global = false;
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getStorageType() {
return storageType;
}
public void setStorageType(String storageType) {
this.storageType = storageType;
}
public boolean isGlobal() {
return global;
}
public void setGlobal(boolean global) {
this.global = global;
}
public boolean isExtSnapshotTable() {
return !SnapshotTable.STORAGE_TYPE_METASTORE.equals(storageType);
}
public boolean isEnableLocalCache() {
return enableLocalCache;
}
public void setEnableLocalCache(boolean enableLocalCache) {
this.enableLocalCache = enableLocalCache;
}
}