001package gudusoft.gsqlparser.nodes.couchbase; 002 003 004import gudusoft.gsqlparser.EIndexType; 005import gudusoft.gsqlparser.nodes.TDummy; 006import gudusoft.gsqlparser.nodes.TObjectName; 007import gudusoft.gsqlparser.nodes.TObjectNameList; 008import gudusoft.gsqlparser.nodes.TParseTreeNode; 009 010public class TBuildIndexesSqlNode extends TParseTreeNode { 011 private TKeyspaceRef keyspaceRef; 012 private TObjectNameList indexNames; 013 private EIndexType indexType; 014 015 public TKeyspaceRef getKeyspaceRef() { 016 return keyspaceRef; 017 } 018 019 public TObjectNameList getIndexNames() { 020 return indexNames; 021 } 022 023 public EIndexType getIndexType() { 024 return indexType; 025 } 026 027 public void init(Object arg1,Object arg2,Object arg3){ 028 keyspaceRef = (TKeyspaceRef)arg1; 029 indexNames = (TObjectNameList)arg2; 030 if (arg3 != null){ 031 indexType = ((TDummy)arg3).indexType; 032 033 } 034 } 035 036}