Class QueryPlanningInfo
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.info.QueryPlanningInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given property to the collected information, unless there already is a property of the same type.Returns the value of the entry with the given name.Returns the names of all entries.Returns all collected query plan properties.Returns the query plan property of the given type.booleanisEmpty()Can be used to ask whether this collection of information is still empty.
-
Field Details
-
properties
-
-
Constructor Details
-
QueryPlanningInfo
public QueryPlanningInfo()
-
-
Method Details
-
isEmpty
-
getProperty
Returns the query plan property of the given type. If the collected information does not include such a property, thennullis returned.- Parameters:
type- - the type for which the property is requested- Returns:
- the requested property or
null
-
getProperties
Returns all collected query plan properties.- Returns:
- an iterable of all collected properties
-
addProperty
Adds the given property to the collected information, unless there already is a property of the same type. If this object already contains a property of the same type as the given property, then anIllegalArgumentExceptionis thrown.- Parameters:
p- - the property to be added
-
getEntryNames
Description copied from interface:StatsReturns the names of all entries.- Specified by:
getEntryNamesin interfaceStats
-
getEntry
-