/* Generated By:JJTree: Do not edit this line. ODropClassStatement.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.orientechnologies.orient.core.sql.parser;
import java.util.Map;
public class ODropClassStatement extends OStatement {
public OIdentifier name;
public boolean unsafe = false;
public boolean ifExists = false;
public ODropClassStatement(int id) {
super(id);
}
public ODropClassStatement(OrientSql p, int id) {
super(p, id);
}
@Override public void toString(Map<Object, Object> params, StringBuilder builder) {
builder.append("DROP CLASS ");
name.toString(params, builder);
if (ifExists) {
builder.append(" IF EXISTS");
}
if (unsafe) {
builder.append(" UNSAFE");
}
}
}
/* JavaCC - OriginalChecksum=8c475e1225074f68be37fce610987d54 (do not edit this line) */