30 #ifndef GOOGLE_BIGQUERY_API_STREAMINGBUFFER_H_ 31 #define GOOGLE_BIGQUERY_API_STREAMINGBUFFER_H_ 33 #include "googleapis/base/integral_types.h" 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_bigquery_api::Streamingbuffer");
93 return Storage().isMember(
"estimatedBytes");
100 MutableStorage()->removeMember(
"estimatedBytes");
108 const Json::Value& storage = Storage(
"estimatedBytes");
109 return client::JsonValueToCppValueHelper<uint64 >(storage);
121 client::SetJsonValueFromCppValueHelper<uint64 >(
122 value, MutableStorage(
"estimatedBytes"));
131 return Storage().isMember(
"estimatedRows");
138 MutableStorage()->removeMember(
"estimatedRows");
146 const Json::Value& storage = Storage(
"estimatedRows");
147 return client::JsonValueToCppValueHelper<uint64 >(storage);
159 client::SetJsonValueFromCppValueHelper<uint64 >(
160 value, MutableStorage(
"estimatedRows"));
169 return Storage().isMember(
"oldestEntryTime");
176 MutableStorage()->removeMember(
"oldestEntryTime");
184 const Json::Value& storage = Storage(
"oldestEntryTime");
185 return client::JsonValueToCppValueHelper<uint64 >(storage);
198 client::SetJsonValueFromCppValueHelper<uint64 >(
199 value, MutableStorage(
"oldestEntryTime"));
206 #endif // GOOGLE_BIGQUERY_API_STREAMINGBUFFER_H_ Definition: streamingbuffer.h:50
void clear_estimated_rows()
Definition: streamingbuffer.h:137
bool has_oldest_entry_time() const
Definition: streamingbuffer.h:168
Definition: aggregate_classification_metrics.cc:39
void set_estimated_bytes(uint64 value)
Definition: streamingbuffer.h:120
bool has_estimated_rows() const
Definition: streamingbuffer.h:130
void set_oldest_entry_time(uint64 value)
Definition: streamingbuffer.h:197
uint64 get_estimated_rows() const
Definition: streamingbuffer.h:145
void set_estimated_rows(uint64 value)
Definition: streamingbuffer.h:158
uint64 get_oldest_entry_time() const
Definition: streamingbuffer.h:183
Definition: aggregate_classification_metrics.h:37
bool has_estimated_bytes() const
Definition: streamingbuffer.h:92
void clear_oldest_entry_time()
Definition: streamingbuffer.h:175
const StringPiece GetTypeName() const
Definition: streamingbuffer.h:83
uint64 get_estimated_bytes() const
Definition: streamingbuffer.h:107
void clear_estimated_bytes()
Definition: streamingbuffer.h:99