本文整理汇总了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);
}