public boolean isMergeAbleWith(final BatchPoints that) {
    return Objects.equals(database, that.database)
            && Objects.equals(retentionPolicy, that.retentionPolicy)
            && Objects.equals(tags, that.tags)
            && consistency == that.consistency;
  }
public boolean isMergeAbleWith ( final BatchPoints that ) { return Objects . equals ( database , that . database ) && Objects . equals ( retentionPolicy , that . retentionPolicy ) && Objects . equals ( tags , that . tags ) && consistency == that . consistency ; }
Test whether is possible to merge two BatchPoints objects.

@param that batch point to merge in
@return true if the batch points can be sent in a single HTTP request write