 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
117 void create(
const char *name);
126 void destroy(
const char *name);
254 void insertColl(
const char *collName,
const char *typeName,
const r_OId &oid);
269 std::string rasmgrName;
275 std::string userName;
278 std::string plainPass;
r_Type * get_type_schema(const char *typeName, type_schema typetype)
The method looks up an object with oid.
The class ClientComm represents one connection between one client entity (for example an object of cl...
Definition: clientcomm.hh:50
r_Ref_Any lookup_object(const char *name) const
The method gives the name to the object obj.
void set_transfer_format(r_Data_Format format, const char *formatParams=NULL)
The method looks up the type structure with typeName as its name.
void set_servername(const char *name, int port=DEFAULT_PORT)
This method works only if a server host name has been specified with set_servername().
void open(const char *database_name, access_status status=read_write)
open a database
void removeObjFromColl(const char *name, const r_OId &oid)
removes an object from a collection
@ COLLECTION
Definition: database.hh:76
void set_useridentification(const char *name, const char *plain_pass)
One of error situations can occur will raise an exception of type r_Error with one of the following k...
@ MARRAY
Definition: database.hh:75
The class r_Ref_Any is defined to support a reference to any type.
Definition: ref.hh:64
void close()
The method opens the database specified with database_name.
static r_Database * actual_database
This method sets the storage format to use for MDD created by this client in the RasDaMan database.
Definition: database.hh:244
void insertColl(const char *collName, const char *typeName, const r_OId &oid)
r_Data_Format
\begin{tabular}{ll} <tt>r_Array</tt> && no compression, row-major memory representation\...
Definition: mddtypes.hh:93
access_status
possible database states
Definition: database.hh:63
void set_storage_format(r_Data_Format format, const char *formatParams=NULL)
The method sets the transfer compression used for the communications of this client with the server.
@ exclusive
Definition: database.hh:68
access_status get_status() const
One of error situations can occur will raise an exception of type r_Error with one of the following k...
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type sy...
Definition: type.hh:50
~r_Database()
One error situations can occur which raise an exception of type r_Error with one of the following kin...
@ read_only
Definition: database.hh:67
Through inheritance of this class, the type definer specifies that the subclass is capable of having ...
Definition: object.hh:61
type_schema
possible types define by symbolic names
Definition: database.hh:72
void set_object_name(r_Object &obj, const char *name)
give a name to an object (signature is not ODMG conformant because of compiler bug)
void create(const char *name)
create a database with fixed schema RasDaSchema
A database object must be instantiated and opened before starting any transaction which uses the data...
Definition: database.hh:59
@ CELL
Definition: database.hh:74
void destroy(const char *name)
This method works only if a server host name has been specified with set_servername().
r_Database()
default constructor
Class r_OId represents an object identifier.
Definition: oid.hh:38
const r_OId get_new_oid(unsigned short objType) const
@ read_write
Definition: database.hh:66
@ not_open
Definition: database.hh:65