http://git-wip-us.apache.org/repos/asf/kudu/blob/20153945/cpp-client-api ---------------------------------------------------------------------- diff --git a/cpp-client-api b/cpp-client-api new file mode 120000 index 0000000..b02a776 --- /dev/null +++ b/cpp-client-api @@ -0,0 +1 @@ +releases/1.7.1/cpp-client-api/ \ No newline at end of file diff --git a/cpp-client-api/annotated.html b/cpp-client-api/annotated.html deleted file mode 100644 index de6585c..0000000 --- a/cpp-client-api/annotated.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - -Kudu C++ client API: Class List - - - - - - - - - -
-
- - - - - - -
-
Kudu C++ client API -
-
-
- - - - - - - -
- -
-
- - -
- -
- -
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Nkudu
 Nclient
 CKuduClientA handle for a connection to a cluster
 CKuduClientBuilderA "factory" for KuduClient objects
 CKuduColumnSchemaRepresentation of the column schema
 CKuduColumnSpecBuilder API for specifying or altering a column within a table schema
 CKuduColumnStorageAttributesRepresentation of column storage attributes
 CKuduColumnTypeAttributesRepresentation of column type attributes
 CKuduDeleteA single row delete to be sent to the cluster
 CKuduErrorThis class represents an error which occurred in a write operation
 CKuduInsertA single row insert to be sent to the cluster
 CKuduLoggingCallbackThe interface for all logging callbacks
 CKuduLoggingFunctionCallbackThe logging callback that invokes a function by pointer with a single argument
 CKuduLoggingMemberCallbackThe logging callback that invokes a member function of an object
 CKuduPartitioner
 CKuduPartitionerBuilderBuilder for Partitioner instances
 CKuduPredicateA representation of comparison predicate for Kudu queries
 CKuduReplicaIn-memory representation of a remote tablet's replica
 CKuduScanBatchA batch of zero or more rows returned by a scan operation
 CKuduScannerThis class is a representation of a single scan
 CKuduScanTokenA scan descriptor limited to a single physical contiguous location
 CKuduScanTokenBuilderBuilds scan tokens for a table
 CKuduSchemaA representation of a table's schema
 CKuduSchemaBuilderBuilder API for constructing a KuduSchema object
 CKuduSessionRepresentation of a Kudu client session
 CKuduStatusCallbackThe interface for all status callbacks
 CKuduStatusFunctionCallbackThe status callback that invokes a function by pointer with a single argument
 CKuduStatusMemberCallbackThe status callback that invokes a member function of an object
 CKuduTableA representation of a table on a particular cluster
 CKuduTableAltererAlters an existing table based on the provided steps
 CKuduTableCreatorA helper class to create a new table with the desired options
 CKuduTabletIn-memory representation of a remote tablet
 CKuduTabletServerIn-memory representation of a remote tablet server
 CKuduUpdateA single row update to be sent to the cluster
 CKuduUpsertA single row upsert to be sent to the cluster
 CKuduValueA constant cell value with a specific type
 CKuduWriteOperationA single-row write operation to be sent to a Kudu table
 CResourceMetricsA generic catalog of simple metrics
 Ninternal_logging
 CCerrLogA helper for stderr log sink
 CNullLogA helper for the nil log sink
 CMonoDeltaA representation of a time interval
 CMonoTimeRepresentation of a particular point in time
 CSliceA wrapper around externally allocated data
 CComparatorComparator struct, useful for ordered collections (like STL maps)
 CSliceMapSTL map whose keys are Slices
 CStatusA representation of an operation's outcome
 CKuduPartialRowA row which may only contain values for a subset of the columns
-
-
- - - - - diff --git a/cpp-client-api/bc_s.png b/cpp-client-api/bc_s.png deleted file mode 100644 index 224b29a..0000000 Binary files a/cpp-client-api/bc_s.png and /dev/null differ diff --git a/cpp-client-api/bdwn.png b/cpp-client-api/bdwn.png deleted file mode 100644 index 940a0b9..0000000 Binary files a/cpp-client-api/bdwn.png and /dev/null differ diff --git a/cpp-client-api/callbacks_8h_source.html b/cpp-client-api/callbacks_8h_source.html deleted file mode 100644 index d9213f4..0000000 --- a/cpp-client-api/callbacks_8h_source.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -Kudu C++ client API: include/kudu/client/callbacks.h Source File - - - - - - - - - -
-
- - - - - - -
-
Kudu C++ client API -
-
-
- - - - - - - - -
-
- - -
- -
- - -
-
-
-
callbacks.h
-
-
-
1 // Licensed to the Apache Software Foundation (ASF) under one
2 // or more contributor license agreements. See the NOTICE file
3 // distributed with this work for additional information
4 // regarding copyright ownership. The ASF licenses this file
5 // to you under the Apache License, Version 2.0 (the
6 // "License& quot;); you may not use this file except in compliance
7 // with the License. You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing,
12 // software distributed under the License is distributed on an
13 // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 // KIND, either express or implied. See the License for the
15 // specific language governing permissions and limitations
16 // under the License.
17 #ifndef KUDU_CLIENT_CALLBACKS_H
18 #define KUDU_CLIENT_CALLBACKS_H
19 
20 #ifdef KUDU_HEADERS_NO_STUBS
21 #include "kudu/gutil/macros.h"
22 #include "kudu/gutil/port.h"
23 #else
24 #include "kudu/client/stubs.h"
25 #endif
26 # include "kudu/util/kudu_export.h"
27 
28 namespace kudu {
29 
30 class Status;
31 
32 namespace client {
33 
34 
36 enum KuduLogSeverity {
37  SEVERITY_INFO,
38  SEVERITY_WARNING,
39  SEVERITY_ERROR,
40  SEVERITY_FATAL
41 };
42 
44 class KUDU_EXPORT KuduLoggingCallback {
45  public:
47  }
48 
49  virtual ~KuduLoggingCallback() {
50  }
51 
68  virtual void Run(KuduLogSeverity severity,
< div class="line"> 69  const char* filename,
70  int line_number,
71  const struct ::tm* time,
72  const char* message,
73  size_t message_len) = 0;
74 
75 60; private:
76  DISALLOW_COPY_AND_ASSIGN(KuduLoggingCallback);
77 };
78 
80 template <typename T>
81 class KUDU_EXPORT KuduLoggingMemberCallback : public KuduLoggingCallback {
82  public:
84  typedef void (T::*MemberType)(
85  KuduLogSeverity severity,
86  const char* filename,
87  int line_number,
88  const str uct ::tm* time,
89  const char* message,
90  size_t message_len);
91 
98  KuduLoggingMemberCallback(T* object, MemberType member)
99  : object_(object),
100  member_(member) {
101  }
102 
104  virtual void Run(KuduLogSeverity severity,
105  const char* filename,
106  int line_number,
107  const struct ::tm* time,
108  const char* message,
109  size_t message_len) OVERRIDE {
110  (object_->*member_)(severity, filename, line_number, time,
111  message, message_len);
112  }
113 
114  private:
115  T* object_;
116  MemberType member_;
117 };
118 
121 template <typename T>
122 class KUDU_EXPORT KuduLoggingFunctionCallback : public KuduLoggingCallback {
123  public:
125  typedef void (*FunctionType)(T arg,
126  KuduLogSeverity severity,
127  const char* filename,
128  int line_number,
129  cons t struct ::tm* time,
130  const char* message,
131  size_t message_len);
132 
139  KuduLoggingFunctionCallback(FunctionType function, T arg)
140  : function_(function),
141  arg_(arg) {
142  }
143 
145  virtual void Run(KuduLogSeverity severity,
146  const char* filename,
147  int line_number,
148  const struct ::tm* time,
149  const char* message,
150  size_t message_len) OVERRIDE {
151  function_(arg_, severity, filename, line_number, time,
152  message, message_len);
153  }
154 
155  private:
156  FunctionType function_;
157  T arg_;
158 };
159 
161 class KUDU_EXPORT KuduStatusCallback {
162  public:
164  }
165 
166  virtual ~KuduStatusCallback() {
167  }
168 
173  virtual void Run(const Status& s) = 0;
174 
175  private:
176  DISALLOW_COPY_AND_ASSIGN(KuduStatusCallback);
177 };
178 
180 template <typename T>
181 class KUDU_EXPORT KuduStatusMemberCallback : public< /span> KuduStatusCallback {
182  public:
184  typedef void (T::*MemberType)(const Status& s);
185 
192  Kudu StatusMemberCallback(T* object, MemberType member)
193  : object_(object),
194  member_(member) {
195  }
196 
198  virtual void Run(const Status& s) OVERRIDE {
199  (object_->*member_)(s);
200  }
201 
202  private:
203  T* object_;
204  MemberType member_;
205 };
206 
209 template <typename T>
210 class KUDU_EXPORT KuduStatusFunctionCallback : public KuduStatusCallback {
211  public:
213  typedef void (*FunctionType)(T arg, const Status& s);
214 
222  KuduStatusFunctionCallback(FunctionType function, T arg)
223  : function_(function),
224  arg_(arg) {
225  }
226 
228  virtual void Run(const Status& s) OVERRIDE {
229  function_(arg_, s);
230  }
231 
232  private:
233  FunctionType function_;
234  T arg_;
235 };
236 
237 } // namespace client
238 } // namespace kudu
239 
240 #endif
The interface for all logging callbacks.
Definition: callbacks.h:44
-
virtual void Run(const Status &s) OVERRIDE
Definition: callbacks.h:228
-
Definition: callbacks.h:28
-
KuduStatusMemberCallback(T *object, MemberType member)
Definition: callbacks.h:192
-
virtual void Run(const Status &s) OVERRIDE
Definition: callbacks.h:198
-
The logging callback that invokes a function by pointer with a single argument.
Definition: callbacks.h:122
-
The status callback that invokes a function by pointer with a single argument.
Definition: callbacks.h:210
-
KuduLoggingMemberCallback(T *object, MemberType member)
Definition: callbacks.h:98
-
The status callback that invokes a member function of an object.
Definition: callbacks.h:181
-
KuduLoggingFunctionCallback(FunctionType function, T arg)
Definition: callbacks.h:139
-
The logging callback that invokes a member function of an object.
Definition: callbacks.h:81
-
A representation of an operation&#39;s outcome.
Definition: status.h:145
-
virtual void Run(KuduLogSeverity severity, const char *filename, int line_number, const struct ::tm *time, const char *message, size_t message_len) OVERRIDE
Definition: callbacks.h:145
-
virtual void Run(KuduLogSeverity severity, const char *filename, int line_number, const struct ::tm *time, const char *message, size_t message_len) OVERRIDE
Definition: callbacks.h:104
-
The interface for all status callbacks.
Definition: callbacks.h:161
-
KuduStatusFunctionCallback(FunctionType function, T arg)
Definition: callbacks.h:222
-
- - - - - diff --git a/cpp-client-api/class_kudu_partial_row-members.html b/cpp-client-api/class_kudu_partial_row-members.html deleted file mode 100644 index 3764139..0000000 --- a/cpp-client-api/class_kudu_partial_row-members.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - -Kudu C++ client API: Member List - - - - - - - - - -
-
- - - - - - -
-
Kudu C++ client API -
-
-
- - - - - - - - -
-
- - -
- -
- -
-
-
-
KuduPartialRow Member List
-
-
- -

This is the complete list of members for KuduPartialRow, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AllColumnsSet() constKuduPartialRow
client::IntKeysTestSetup (defined in KuduPartialRow)KuduPartialRowfriend
client::KuduWriteOperation (defined in KuduPartialRow)KuduPartialRowfriend
client::SliceKeysTestSetup (defined in KuduPartialRow)KuduPartialRowfriend
EncodeRowKey(std::string *encoded_key) constKuduPartialRow
GetBinary(const Slice &col_name, Slice *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetBinary(int col_idx, Slice *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetBool(const Slice &col_name, bool *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetBool(int col_idx, bool *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetDouble(const Slice &col_name, double *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetDouble(int col_idx, double *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetFloat(const Slice &col_name, float *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetFloat(int col_idx, float *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt16(const Slice &col_name, int16_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt16(int col_idx, int16_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt32(const Slice &col_name, int32_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt32(int col_idx, int32_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt64(const Slice &col_name, int64_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt64(int col_idx, int64_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt8(const Slice &col_name, int8_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetInt8(int col_idx, int8_t *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetString(const Slice &col_name, Slice *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetString(int col_idx, Slice *val) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetUnixTimeMicros(const Slice &col_name, int64_t *micros_since_utc_epoch) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
GetUnixTimeMicros(int col_idx, int64_t *micros_since_utc_epoch) const WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
IsColumnSet(const Slice &col_name) constKuduPartialRow
IsColumnSet(int col_idx) constKuduPartialRow
IsKeySet() constKuduPartialRow
IsNull(const Slice &col_name) constKuduPartialRow
IsNull(int col_idx) constKuduPartialRow
KeyUtilTest (defined in KuduPartialRow)KuduPartialRowfriend
KuduPartialRow(const Schema *schema)KuduPartialRowexplicit
KuduPartialRow(const KuduPartialRow &other)KuduPartialRow
operator=(KuduPartialRow other)KuduPartialRow
PartitionSchema (defined in KuduPartialRow)KuduPartialRowfriend
RowOperationsPBDecoder (defined in KuduPartialRow)KuduPartialRowfriend
RowOperationsPBEncoder (defined in KuduPartialRow)KuduPartialRowfriend
schema() constKuduPartialRowinline
SetBinary(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBinary(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBinaryCopy(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBinaryCopy(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBinaryNoCopy(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBinaryNoCopy(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBool(const Slice &col_name, bool val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetBool(int col_idx, bool val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetDouble(const Slice &col_name, double val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetDouble(int col_idx, double val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetFloat(const Slice &col_name, float val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetFloat(int col_idx, float val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt16(const Slice &col_name, int16_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt16(int col_idx, int16_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt32(const Slice &col_name, int32_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt32(int col_idx, int32_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt64(const Slice &col_name, int64_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt64(int col_idx, int64_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt8(const Slice &col_name, int8_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetInt8(int col_idx, int8_t val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetNull(const Slice &col_name) WARN_UNUSED_RESULTKuduPartialRow
SetNull(int col_idx) WARN_UNUSED_RESULTKuduPartialRow
SetString(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetString(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetStringCopy(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetStringCopy(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetStringNoCopy(const Slice &col_name, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetStringNoCopy(int col_idx, const Slice &val) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetUnixTimeMicros(const Slice &col_name, int64_t micros_since_utc_epoch) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
SetUnixTimeMicros(int col_idx, int64_t micros_since_utc_epoch) WARN_UNUSED_RESULT (defined in KuduPartialRow)KuduPartialRow
tablet::NumTypeRowOps (defined in KuduPartialRow)KuduPartialRowfriend
tablet::SliceTypeRowOps (defined in KuduPartialRow)KuduPartialRowfriend
TestScanSpec (defined in KuduPartialRow)KuduPartialRowfriend
ToEncodedRowKeyOrDie() constKuduPartialRow
ToString() constKuduPartialRow
Unset(const Slice &col_name) WARN_UNUSED_RESULTKuduPartialRow
Unset(int col_idx) WARN_UNUSED_RESULTKuduPartialRow
~KuduPartialRow() (defined in KuduPartialRow)KuduPartialRowvirtual
- - - - - diff --git a/cpp-client-api/class_kudu_partial_row.html b/cpp-client-api/class_kudu_partial_row.html deleted file mode 100644 index 5fa3f30..0000000 --- a/cpp-client-api/class_kudu_partial_row.html +++ /dev/null @@ -1,865 +0,0 @@ - - - - - - - -Kudu C++ client API: KuduPartialRow Class Reference - - - - - - - - - -
-
- - - - - - -
-
Kudu C++ client API -
-
-
- - - - - - - - -
-
- - -
- -
- -
-
- -
-
KuduPartialRow Class Reference
-
-
- -

A row which may only contain values for a subset of the columns. - More...

- -

#include <partial_row.h>

- - -

-Public Member Functions

 KuduPartialRow (const Schema *