Package com.denodo.commons
Class Document
java.lang.Object
com.denodo.commons.Document
- All Implemented Interfaces:
Serializable
Represents a tuple of retrieved data. It is composed of fields in the
form of pairs key:value.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
Document
public Document()Constructs an emptyDocument. -
Document
Constructs a newDocumentwith the same fields as the specifiedDocument.- Parameters:
doc- theDocumentwhose fields are to be placed in thisDocument.
-
-
Method Details
-
get
Document fields are case-insensitive. A new key is compared to existing keys by comparingnewKey.toString().toUpperCase()to the uppercase values in the currentKeySet.. -
put
Document fields are case-insensitive. As they are added to theDocument, keys are converted to all uppercase. -
remove
-
getFields
-
isEmpty
public boolean isEmpty() -
toString
-