Package openGql.grammar
Class DropSchemaStatement
- java.lang.Object
-
- openGql.grammar.DropSchemaStatement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DropSchemaStatement>
public class DropSchemaStatement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DropSchemaStatement>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIF_EXISTSName of theopenGql.grammar.DropSchemaStatement.ifExistsfield.java.lang.BooleanifExistsstatic NamePARENT_AND_NAMEName of theopenGql.grammar.DropSchemaStatement.parentAndNamefield.AbsoluteDirectoryAndSchemaparentAndNamestatic NameTYPE_Name of theopenGql.grammar.DropSchemaStatementtype.
-
Constructor Summary
Constructors Constructor Description DropSchemaStatement(java.lang.Boolean ifExists, AbsoluteDirectoryAndSchema parentAndName)Constructs an immutableDropSchemaStatement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DropSchemaStatement other)booleanequals(java.lang.Object other)inthashCode()DropSchemaStatementwithIfExists(java.lang.Boolean ifExists)Returns a copy of thisDropSchemaStatementwithifExistsreplaced.DropSchemaStatementwithParentAndName(AbsoluteDirectoryAndSchema parentAndName)Returns a copy of thisDropSchemaStatementwithparentAndNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.DropSchemaStatementtype.
-
IF_EXISTS
public static final Name IF_EXISTS
Name of theopenGql.grammar.DropSchemaStatement.ifExistsfield.
-
PARENT_AND_NAME
public static final Name PARENT_AND_NAME
Name of theopenGql.grammar.DropSchemaStatement.parentAndNamefield.
-
ifExists
public final java.lang.Boolean ifExists
-
parentAndName
public final AbsoluteDirectoryAndSchema parentAndName
-
-
Constructor Detail
-
DropSchemaStatement
public DropSchemaStatement(java.lang.Boolean ifExists, AbsoluteDirectoryAndSchema parentAndName)Constructs an immutableDropSchemaStatement.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(DropSchemaStatement other)
- Specified by:
compareToin interfacejava.lang.Comparable<DropSchemaStatement>
-
withIfExists
public DropSchemaStatement withIfExists(java.lang.Boolean ifExists)
Returns a copy of thisDropSchemaStatementwithifExistsreplaced.
-
withParentAndName
public DropSchemaStatement withParentAndName(AbsoluteDirectoryAndSchema parentAndName)
Returns a copy of thisDropSchemaStatementwithparentAndNamereplaced.
-
-