Class NamedView
- java.lang.Object
-
- uk.gov.gchq.gaffer.data.elementdefinition.ElementDefinitions<ViewElementDefinition,ViewElementDefinition>
-
- uk.gov.gchq.gaffer.data.elementdefinition.view.View
-
- uk.gov.gchq.gaffer.data.elementdefinition.view.NamedView
-
- All Implemented Interfaces:
Cloneable
public class NamedView extends View
ANamedViewextends aView, defining theElements to be returned for an operation. On top of the @{link View}, it contains a name for theViewthat is defined. It also holds a list ofNamedViewnames, containing all the names ofNamedView's that have been merged to define theNamedView.- See Also:
NamedView.Builder,View
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNamedView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>static classNamedView.Builder
-
Constructor Summary
Constructors Constructor Description NamedView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanMerge(View addingView, View srcView)voidexpandGlobalDefinitions()Copies all the global element definitions into the individual element definitions.List<String>getMergedNamedViewNames()StringgetName()Map<String,Object>getParameters()voidsetMergedNamedViewNames(List<String> mergedNamedViewNames)voidsetName(String viewName)voidsetParameters(Map<String,Object> parameters)-
Methods inherited from class uk.gov.gchq.gaffer.data.elementdefinition.view.View
addConfig, clone, equals, fromJson, fromJson, fromJson, getClassName, getConfig, getConfig, getElement, getElementGroupBy, getGlobalEdges, getGlobalElements, getGlobalEntities, hasEdgeFilters, hasEntityFilters, hashCode, hasPostAggregationFilters, hasPostTransformFilters, hasPreAggregationFilters, hasTransform, isAllEdges, isAllEntities, setAllEdges, setAllEntities, toCompactJson, toString
-
Methods inherited from class uk.gov.gchq.gaffer.data.elementdefinition.ElementDefinitions
getEdge, getEdgeGroups, getEdges, getEntities, getEntity, getEntityGroups, getGroups, hasEdges, hasEntities, hasGroups, isEdge, isEntity, toJson
-
-
-
-
Method Detail
-
setName
public void setName(String viewName)
-
getName
public String getName()
-
expandGlobalDefinitions
public void expandGlobalDefinitions()
Description copied from class:ViewCopies all the global element definitions into the individual element definitions. The global element definitions will then be set to null- Overrides:
expandGlobalDefinitionsin classView
-
-