本文整理匯總了Java中org.apache.thrift.EncodingUtils類的典型用法代碼示例。如果您正苦於以下問題:Java EncodingUtils類的具體用法?Java EncodingUtils怎麽用?Java EncodingUtils使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
EncodingUtils類屬於org.apache.thrift包,在下文中一共展示了EncodingUtils類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: unsetType
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void unsetType() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TYPE_ISSET_ID);
}
示例2: unsetReplicaId
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void unsetReplicaId() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REPLICAID_ISSET_ID);
}
示例3: isSetPort
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
/** Returns true if field port is set (has been assigned a value) and false otherwise */
public boolean isSetPort() {
return EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID);
}
示例4: isSetDomainId
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
/** Returns true if field domainId is set (has been assigned a value) and false otherwise */
public boolean isSetDomainId() {
return EncodingUtils.testBit(__isset_bitfield, __DOMAINID_ISSET_ID);
}
示例5: setSuccessIsSet
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void setSuccessIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
}
示例6: unsetNodeId
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void unsetNodeId() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NODEID_ISSET_ID);
}
示例7: isSetNodeId
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
/** Returns true if field nodeId is set (has been assigned a value) and false otherwise */
public boolean isSetNodeId() {
return EncodingUtils.testBit(__isset_bitfield, __NODEID_ISSET_ID);
}
示例8: setReloadIsSet
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void setReloadIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RELOAD_ISSET_ID, value);
}
示例9: setMaxVersionsIsSet
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void setMaxVersionsIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXVERSIONS_ISSET_ID, value);
}
示例10: unsetSuccess
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void unsetSuccess() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
示例11: isSetSessionId
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
/** Returns true if field sessionId is set (has been assigned a value) and false otherwise */
public boolean isSetSessionId() {
return EncodingUtils.testBit(__isset_bitfield, __SESSIONID_ISSET_ID);
}
示例12: setSessionIdIsSet
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void setSessionIdIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SESSIONID_ISSET_ID, value);
}
示例13: setTimeToLiveIsSet
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void setTimeToLiveIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMETOLIVE_ISSET_ID, value);
}
示例14: unsetTimestamp
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
public void unsetTimestamp() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMESTAMP_ISSET_ID);
}
示例15: isSetFetch_size
import org.apache.thrift.EncodingUtils; //導入依賴的package包/類
/** Returns true if field fetch_size is set (has been assigned a value) and false otherwise */
public boolean isSetFetch_size() {
return EncodingUtils.testBit(__isset_bitfield, __FETCH_SIZE_ISSET_ID);
}