Package com.gooddata.sdk.model.md
Class Metric
java.lang.Object
com.gooddata.sdk.model.md.AbstractObj
com.gooddata.sdk.model.md.Metric
public class Metric extends AbstractObj implements Queryable, Updatable
Metric
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from interface com.gooddata.sdk.model.md.Obj
CREATE_URI, CREATE_WITH_ID_URI, OBJ_URI, URI -
Constructor Summary
Constructors Constructor Description Metric(java.lang.String title, java.lang.String expression, java.lang.String format) -
Method Summary
Modifier and Type Method Description java.lang.StringgetExpression()java.util.Collection<java.lang.String>getFolders()URIs of folders containing this objectjava.lang.StringgetFormat()MaqlAstgetMaqlAst()java.lang.StringtoString()Methods inherited from class com.gooddata.sdk.model.md.AbstractObj
getAuthor, getCategory, getContributor, getCreated, getFlags, getId, getIdentifier, getSummary, getTags, getTitle, getUpdated, getUri, isDeprecated, isLocked, isProduction, isSharedWithSomeone, isUnlisted, setCategory, setDeprecated, setFlags, setIdentifier, setLocked, setProduction, setSharedWithSomeone, setSummary, setTags, setTitle, setUnlisted, uris
-
Constructor Details
-
Metric
public Metric(java.lang.String title, java.lang.String expression, java.lang.String format)
-
-
Method Details
-
getExpression
public java.lang.String getExpression() -
getFormat
public java.lang.String getFormat() -
getMaqlAst
-
getFolders
public java.util.Collection<java.lang.String> getFolders()URIs of folders containing this object- Returns:
- collection of URIs or null
-
toString
public java.lang.String toString()- Overrides:
toStringin classAbstractObj
-