001package gudusoft.gsqlparser.nodes;
002
003/**
004 * AST node for StarRocks DROP DICTIONARY statement.
005 *
006 * Syntax:
007 * DROP DICTIONARY dictionary_object_name [CACHE]
008 */
009public class TDropDictionarySqlNode extends TParseTreeNode {
010
011    private TObjectName dictionaryName;
012    private boolean cacheOnly;
013
014    public TObjectName getDictionaryName() {
015        return dictionaryName;
016    }
017
018    public void setDictionaryName(TObjectName dictionaryName) {
019        this.dictionaryName = dictionaryName;
020    }
021
022    public boolean isCacheOnly() {
023        return cacheOnly;
024    }
025
026    public void setCacheOnly(boolean cacheOnly) {
027        this.cacheOnly = cacheOnly;
028    }
029}