Package openGql.grammar
Class DeleteStatement
- java.lang.Object
-
- openGql.grammar.DeleteStatement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeleteStatement>
public class DeleteStatement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DeleteStatement>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<DetachOption>detachstatic NameDETACHName of theopenGql.grammar.DeleteStatement.detachfield.java.util.List<ValueExpression>itemsstatic NameITEMSName of theopenGql.grammar.DeleteStatement.itemsfield.static NameTYPE_Name of theopenGql.grammar.DeleteStatementtype.
-
Constructor Summary
Constructors Constructor Description DeleteStatement(Optional<DetachOption> detach, java.util.List<ValueExpression> items)Constructs an immutableDeleteStatement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DeleteStatement other)booleanequals(java.lang.Object other)inthashCode()DeleteStatementwithDetach(Optional<DetachOption> detach)Returns a copy of thisDeleteStatementwithdetachreplaced.DeleteStatementwithItems(java.util.List<ValueExpression> items)Returns a copy of thisDeleteStatementwithitemsreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.DeleteStatementtype.
-
DETACH
public static final Name DETACH
Name of theopenGql.grammar.DeleteStatement.detachfield.
-
ITEMS
public static final Name ITEMS
Name of theopenGql.grammar.DeleteStatement.itemsfield.
-
detach
public final Optional<DetachOption> detach
-
items
public final java.util.List<ValueExpression> items
-
-
Constructor Detail
-
DeleteStatement
public DeleteStatement(Optional<DetachOption> detach, java.util.List<ValueExpression> items)
Constructs an immutableDeleteStatement.
-
-
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(DeleteStatement other)
- Specified by:
compareToin interfacejava.lang.Comparable<DeleteStatement>
-
withDetach
public DeleteStatement withDetach(Optional<DetachOption> detach)
Returns a copy of thisDeleteStatementwithdetachreplaced.
-
withItems
public DeleteStatement withItems(java.util.List<ValueExpression> items)
Returns a copy of thisDeleteStatementwithitemsreplaced.
-
-