Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
131 lines (102 sloc) 3.05 KB
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
#ifndef cloudtrace_TYPES_H
#define cloudtrace_TYPES_H
#include <Thrift.h>
#include <TApplicationException.h>
#include <protocol/TProtocol.h>
#include <transport/TTransport.h>
namespace accumulo { namespace cloudtrace {
typedef struct _RemoteSpan__isset {
_RemoteSpan__isset() : sender(false), svc(false), traceId(false), spanId(false), parentId(false), start(false), stop(false), description(false), data(false) {}
bool sender;
bool svc;
bool traceId;
bool spanId;
bool parentId;
bool start;
bool stop;
bool description;
bool data;
} _RemoteSpan__isset;
class RemoteSpan {
public:
static const char* ascii_fingerprint; // = "22EA46E738FDCE7962363D25AEC46FDF";
static const uint8_t binary_fingerprint[16]; // = {0x22,0xEA,0x46,0xE7,0x38,0xFD,0xCE,0x79,0x62,0x36,0x3D,0x25,0xAE,0xC4,0x6F,0xDF};
RemoteSpan() : sender(""), svc(""), traceId(0), spanId(0), parentId(0), start(0), stop(0), description("") {
}
virtual ~RemoteSpan() throw() {}
std::string sender;
std::string svc;
int64_t traceId;
int64_t spanId;
int64_t parentId;
int64_t start;
int64_t stop;
std::string description;
std::map<std::string, std::string> data;
_RemoteSpan__isset __isset;
bool operator == (const RemoteSpan & rhs) const
{
if (!(sender == rhs.sender))
return false;
if (!(svc == rhs.svc))
return false;
if (!(traceId == rhs.traceId))
return false;
if (!(spanId == rhs.spanId))
return false;
if (!(parentId == rhs.parentId))
return false;
if (!(start == rhs.start))
return false;
if (!(stop == rhs.stop))
return false;
if (!(description == rhs.description))
return false;
if (!(data == rhs.data))
return false;
return true;
}
bool operator != (const RemoteSpan &rhs) const {
return !(*this == rhs);
}
bool operator < (const RemoteSpan & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
typedef struct _TInfo__isset {
_TInfo__isset() : traceId(false), parentId(false) {}
bool traceId;
bool parentId;
} _TInfo__isset;
class TInfo {
public:
static const char* ascii_fingerprint; // = "F33135321253DAEB67B0E79E416CA831";
static const uint8_t binary_fingerprint[16]; // = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31};
TInfo() : traceId(0), parentId(0) {
}
virtual ~TInfo() throw() {}
int64_t traceId;
int64_t parentId;
_TInfo__isset __isset;
bool operator == (const TInfo & rhs) const
{
if (!(traceId == rhs.traceId))
return false;
if (!(parentId == rhs.parentId))
return false;
return true;
}
bool operator != (const TInfo &rhs) const {
return !(*this == rhs);
}
bool operator < (const TInfo & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
}} // namespace
#endif