|
| | NetricsCompoundRecord (String table, String key, String[] fields) |
| | Create a NetricsCompoundRecord object.
|
| |
| | NetricsCompoundRecord (String table, String key, String parent_key, String[] fields) |
| | Create a NetricsCompoundRecord object.
|
| |
| | NetricsCompoundRecord (String table, String key, String parent_key, String[] fields, String[] attr_names, String[] attr_values) |
| | Create a NetricsCompoundRecord object.
|
| |
| | NetricsCompoundRecord (String table, String key, String[] fields, String[] attr_names, String[] attr_values) |
| | Create a NetricsCompoundRecord object.
|
| |
| | NetricsCompoundRecord (String table, NetricsRecord record) |
| | Create a NetricsCompoundRecord object from a NetricsRecord.
|
| |
| NetricsRecord | toNetricsRecord () |
| | Return this record as new new NetricsRecord object.
|
| |
| void | addChildren (params NetricsCompoundRecord[] children) |
| | Add zero or more child records to this compound record.
|
| |
| void | addChildren (String child_table, params NetricsRecord[] children) |
| | Add zero or more standard child records to this compound record.
|
| |
| String | getTable () |
| | Get the table this record belongs to.
|
| |
| List< NetricsBaseRecord > | getChildren () |
| | Get a list of all children of this record.
|
| |
| List< NetricsBaseRecord > | getChildren (String child_table) |
| | Get a list of all child records for a particular table.
|
| |
| List< String > | getChildTables () |
| | Get a list of all child tables.
|
| |
| String | toBaseString () |
| | Return just the base record string version.
|
| |
| override String | ToString () |
| | Return a human readable string version of this record.
|
| |
| String | getKey () |
| | Get the key of a record.
|
| |
| String | getParentKey () |
| | Retrieve the parent key of a record.
|
| |
|
int | numBytes () |
| | Return the number of bytes of data in this record.
|
| |
| String[] | getFields () |
| | Can be used to get the content of a record.
|
| |
| String[] | getAttrNames () |
| | Returns the names of name/value attributes of the record.
|
| |
| String[] | getAttrValues () |
| | Returns the values of name/value attributes of the record.
|
| |
| String | getAttribute (String attr_name) |
| | Gets the specified attribute value of the record.
|
| |
| override String | ToString () |
| |
A parent record with zero or more child records.
A compound record is a joined set of records. It has a parent record, plus zero or more child records from zero or more child tables. Each record is associated with a table. This extends NetricsRecord.
As the child records in a compound record may themselves be compound records with child records of their own, this class supports an hierarchical structure of arbitrary depth. However ibi Patterns supports only a single depth. Hierarchies with a depth greater than two are never returned by ibi™ Patterns - Search.
| void NetricsServerInterface.NetricsCompoundRecord.addChildren |
( |
String |
child_table, |
|
|
params NetricsRecord[] |
children |
|
) |
| |
|
inline |
Add zero or more standard child records to this compound record.
This adds zero or more child records to this compound record. The child records are standard NetricsRecord objects. They are all associated with a specific named child table. The child records must be children of this record (i.e. it's parent record key must be the key of this record.)
A particular child record for a particular table can appear only once. If a child with this key already exists for the given table it is replaced.
- Parameters
-
| child_table | the child table for all child records. |
| children | the child records to be added. |
| override String NetricsServerInterface.NetricsCompoundRecord.ToString |
( |
| ) |
|
|
inline |
Return a human readable string version of this record.
This converts the current compound record into a human readable string. The format is the parent record table name, followed by a comma and the NetricsRecord format string version of the parent record. The child records are then printed out, each proceeded by a new-line and a tab character. The format is recursive, so children of the child record are printed out after the child each with a new-line and an additional tab character.
- Returns
- the human readable string form as described above.