@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OCreateVertexStatement that = (OCreateVertexStatement) o; if (targetClass != null ? !targetClass.equals(that.targetClass) : that.targetClass != null) return false; if (targetClusterName != null ? !targetClusterName.equals(that.targetClusterName) : that.targetClusterName != null) return false; if (targetCluster != null ? !targetCluster.equals(that.targetCluster) : that.targetCluster != null) return false; if (returnStatement != null ? !returnStatement.equals(that.returnStatement) : that.returnStatement != null) return false; if (insertBody != null ? !insertBody.equals(that.insertBody) : that.insertBody != null) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OCreateEdgeStatement that = (OCreateEdgeStatement) o; if (upsert != that.upsert) return false; if (targetClass != null ? !targetClass.equals(that.targetClass) : that.targetClass != null) return false; if (targetClusterName != null ? !targetClusterName.equals(that.targetClusterName) : that.targetClusterName != null) return false; if (leftExpression != null ? !leftExpression.equals(that.leftExpression) : that.leftExpression != null) return false; if (rightExpression != null ? !rightExpression.equals(that.rightExpression) : that.rightExpression != null) return false; if (body != null ? !body.equals(that.body) : that.body != null) return false; if (retry != null ? !retry.equals(that.retry) : that.retry != null) return false; if (wait != null ? !wait.equals(that.wait) : that.wait != null) return false; return batch != null ? batch.equals(that.batch) : that.batch == null; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OInsertStatement that = (OInsertStatement) o; if (selectInParentheses != that.selectInParentheses) return false; if (selectWithFrom != that.selectWithFrom) return false; if (unsafe != that.unsafe) return false; if (targetClass != null ? !targetClass.equals(that.targetClass) : that.targetClass != null) return false; if (targetClusterName != null ? !targetClusterName.equals(that.targetClusterName) : that.targetClusterName != null) return false; if (targetCluster != null ? !targetCluster.equals(that.targetCluster) : that.targetCluster != null) return false; if (targetIndex != null ? !targetIndex.equals(that.targetIndex) : that.targetIndex != null) return false; if (insertBody != null ? !insertBody.equals(that.insertBody) : that.insertBody != null) return false; if (returnStatement != null ? !returnStatement.equals(that.returnStatement) : that.returnStatement != null) return false; if (selectStatement != null ? !selectStatement.equals(that.selectStatement) : that.selectStatement != null) return false; return true; }