public static XID of(List<?> list) {
            if (list == null || list.size() != 3) {
                throw new IllegalArgumentException(
                        "Non-null tuple with 3 elements(long, long, String) is required");
            }
            long snapshotVersion = ((UnsignedLong) list.get(0)).longValue();
            long localTxCounter = ((UnsignedLong) list.get(1)).longValue();
            String hostId = String.valueOf(list.get(2));
            if (EMPTY.snapshotVersion == snapshotVersion && EMPTY.localTxCounter == localTxCounter
                    && EMPTY.hostId.equals(hostId)) {
                return EMPTY;
            }
            return new XID(snapshotVersion, localTxCounter, 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