in cassandra-analytics-common/src/main/java/org/apache/cassandra/spark/data/CqlField.java [438:460]
public boolean equals(Object other)
{
if (other == null)
{
return false;
}
if (this == other)
{
return true;
}
if (this.getClass() != other.getClass())
{
return false;
}
CqlField that = (CqlField) other;
return Objects.equals(this.name, that.name)
&& this.isPartitionKey == that.isPartitionKey
&& this.isClusteringColumn == that.isClusteringColumn
&& this.isStaticColumn == that.isStaticColumn
&& Objects.equals(this.type, that.type)
&& this.position == that.position;
}