@Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            } else if (obj == null || getClass() != obj.getClass()) {
                return false;
            }

            XID other = (XID) obj;
            return snapshotVersion == other.snapshotVersion && localTxCounter == other.localTxCounter
                    && hostId.equals(other.hostId);
        }
Creates transaction ID from the given tuple.

@param list non-null tuple with 3 elements
@return non-null transaction ID
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseTransaction.java