Package uk.gov.gchq.gaffer.named.view
Class AddNamedView
- java.lang.Object
-
- uk.gov.gchq.gaffer.named.view.AddNamedView
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Operation
public class AddNamedView extends Object implements Operation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddNamedView.Builder
-
Nested classes/interfaces inherited from interface uk.gov.gchq.gaffer.operation.Operation
Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
-
-
Constructor Summary
Constructors Constructor Description AddNamedView()
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.operation.Operation
_getNullOrOptions, addOption, close, containsOption, getOption, getOption, validate, validateRequiredFieldPresent
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
setView
public void setView(String view)
-
setView
public void setView(com.fasterxml.jackson.databind.JsonNode viewNode)
-
getViewAsString
public String getViewAsString()
-
getViewAsJsonNode
public com.fasterxml.jackson.databind.JsonNode getViewAsJsonNode()
-
setView
public void setView(View view)
-
getView
public View getView()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setParameters
public void setParameters(Map<String,ViewParameterDetail> parameters)
-
getParameters
public Map<String,ViewParameterDetail> getParameters()
-
setOverwriteFlag
public void setOverwriteFlag(boolean overwriteFlag)
-
isOverwriteFlag
public boolean isOverwriteFlag()
-
setOptions
public void setOptions(Map<String,String> options)
- Specified by:
setOptions
in interfaceOperation
- Parameters:
options
- the operation options. This may contain store specific options such as authorisation strings or and other properties required for the operation to be executed. Note these options will probably not be interpreted in the same way by every store implementation.
-
getOptions
public Map<String,String> getOptions()
- Specified by:
getOptions
in interfaceOperation
- Returns:
- the operation options. This may contain store specific options such as authorisation strings or and other properties required for the operation to be executed. Note these options will probably not be interpreted in the same way by every store implementation.
-
getWriteAccessPredicate
public AccessPredicate getWriteAccessPredicate()
-
setWriteAccessPredicate
public void setWriteAccessPredicate(AccessPredicate writeAccessPredicate)
-
getReadAccessPredicate
public AccessPredicate getReadAccessPredicate()
-
setReadAccessPredicate
public void setReadAccessPredicate(AccessPredicate readAccessPredicate)
-
shallowClone
public AddNamedView shallowClone() throws org.apache.commons.lang3.exception.CloneFailedException
Description copied from interface:Operation
Operation implementations should ensure a ShallowClone method is implemented. Performs a shallow clone. Creates a new instance and copies the fields across. It does not clone the fields. If the operation contains nested operations, these must also be cloned.- Specified by:
shallowClone
in interfaceOperation
- Returns:
- shallow clone
- Throws:
org.apache.commons.lang3.exception.CloneFailedException
- if a Clone error occurs
-
-