com.microsoft.sqlserver.jdbc.spark.MyXidImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-mssql-connector Show documentation
Show all versions of spark-mssql-connector Show documentation
The Apache Spark Connector for SQL Server and Azure SQL is a high-performance connector that enables you to use transactional data in big data analytics and persists results for ad-hoc queries or reporting.
package com.microsoft.sqlserver.jdbc.spark;
import javax.transaction.xa.Xid;
public class MyXidImpl implements Xid {
public int formatId;
public byte[] gtrid;
public byte[] bqual;
public int getFormatId() {
return formatId;
}
public byte[] getGlobalTransactionId() {
return gtrid;
}
public byte[] getBranchQualifier() {
return bqual;
}
public MyXidImpl(int formatId, byte[] gtrid, byte[] bqual) {
this.formatId = formatId;
this.gtrid = gtrid;
this.bqual = bqual;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy