Class NamedView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>
- java.lang.Object
-
- uk.gov.gchq.gaffer.data.elementdefinition.ElementDefinitions.BaseBuilder<View,ViewElementDefinition,ViewElementDefinition,CHILD_CLASS>
-
- uk.gov.gchq.gaffer.data.elementdefinition.view.View.BaseBuilder<CHILD_CLASS>
-
- uk.gov.gchq.gaffer.data.elementdefinition.view.NamedView.BaseBuilder<CHILD_CLASS>
-
- Direct Known Subclasses:
NamedView.Builder
- Enclosing class:
- NamedView
public abstract static class NamedView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>> extends View.BaseBuilder<CHILD_CLASS>
-
-
Constructor Summary
Constructors Constructor Description BaseBuilder()
BaseBuilder(NamedView namedView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedView
build()
Builds theElementDefinitions
validates it and returns it.CHILD_CLASS
json(byte[]... jsonBytes)
CHILD_CLASS
json(InputStream... inputStreams)
CHILD_CLASS
json(Path... filePaths)
CHILD_CLASS
merge(View view)
CHILD_CLASS
name(String name)
CHILD_CLASS
parameters(Map<String,Object> parameters)
-
Methods inherited from class uk.gov.gchq.gaffer.data.elementdefinition.view.View.BaseBuilder
allEdges, allEntities, config, config, edge, edge, edges, entities, entity, entity, expandGlobalDefinitions, globalEdges, globalElements, globalEntities
-
Methods inherited from class uk.gov.gchq.gaffer.data.elementdefinition.ElementDefinitions.BaseBuilder
addEdges, addEntities, edges, entities, json, json, json, json, removeEdges, removeEntities
-
-
-
-
Constructor Detail
-
BaseBuilder
public BaseBuilder()
-
BaseBuilder
public BaseBuilder(NamedView namedView)
-
-
Method Detail
-
name
public CHILD_CLASS name(String name)
-
parameters
public CHILD_CLASS parameters(Map<String,Object> parameters)
-
json
public CHILD_CLASS json(InputStream... inputStreams) throws SchemaException
- Overrides:
json
in classView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>
- Throws:
SchemaException
-
json
public CHILD_CLASS json(Path... filePaths) throws SchemaException
- Overrides:
json
in classView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>
- Throws:
SchemaException
-
json
public CHILD_CLASS json(byte[]... jsonBytes) throws SchemaException
- Overrides:
json
in classView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>
- Throws:
SchemaException
-
merge
public CHILD_CLASS merge(View view)
- Overrides:
merge
in classView.BaseBuilder<CHILD_CLASS extends NamedView.BaseBuilder<?>>
-
build
public NamedView build()
Description copied from class:ElementDefinitions.BaseBuilder
Builds theElementDefinitions
validates it and returns it.- Overrides:
build
in classElementDefinitions.BaseBuilder<View,ViewElementDefinition,ViewElementDefinition,CHILD_CLASS extends NamedView.BaseBuilder<?>>
- Returns:
- the build
ElementDefinitions
.
-
-