public abstract class FileSinkBaseFiltered extends FileSinkBase
This class provides the list of possible filters which could be used by the final user to write graphs into files using a specific file format. Thus, it allows to create an output stream where the dynamic events of addition/deletion/modification can be filtered.
Since it extends FileSinkBase, you have to override the same methods in order to implement an output.
Constructor and Description |
---|
FileSinkBaseFiltered()
Initialize with no filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
addEdgeAttributeFiltered(String attr)
Add a new attribute to filter
|
boolean |
addGraphAttributeFiltered(String attr)
Add a new attribute to filter
|
boolean |
addNodeAttributeFiltered(String attr)
Add a new attribute to filter
|
ArrayList<String> |
getEdgeAttributesFiltered() |
ArrayList<String> |
getGraphAttributesFiltered() |
ArrayList<String> |
getNodeAttributesFiltered() |
boolean |
isNoFilterEdgeAdded() |
boolean |
isNoFilterEdgeAttributeAdded() |
boolean |
isNoFilterEdgeAttributeChanged() |
boolean |
isNoFilterEdgeAttributeRemoved() |
boolean |
isNoFilterEdgeRemoved() |
boolean |
isNoFilterGraphAttributeAdded() |
boolean |
isNoFilterGraphAttributeChanged() |
boolean |
isNoFilterGraphAttributeRemoved() |
boolean |
isNoFilterGraphCleared() |
boolean |
isNoFilterNodeAdded() |
boolean |
isNoFilterNodeAttributeAdded() |
boolean |
isNoFilterNodeAttributeChanged() |
boolean |
isNoFilterNodeAttributeRemoved() |
boolean |
isNoFilterNodeRemoved() |
boolean |
isNoFilterStepBegins() |
boolean |
removeEdgeAttributeFilter(String attr)
Remove an attribute to filter
|
boolean |
removeGraphAttributeFilter(String attr)
Remove an attribute to filter
|
boolean |
removeNodeAttributeFilter(String attr)
Remove an attribute to filter
|
void |
setEdgeAttributesFiltered(ArrayList<String> edgeAttributesFiltered)
Set the whole list of edge attributes filtered
|
void |
setGraphAttributesFiltered(ArrayList<String> graphAttributesFiltered)
Set the whole list of graph attributes filtered
|
void |
setNodeAttributesFiltered(ArrayList<String> nodeAttributesFiltered)
Set the whole list of node attributes filtered
|
void |
setNoFilterEdgeAdded(boolean noFilterEdgeAdded) |
void |
setNoFilterEdgeAttributeAdded(boolean noFilterEdgeAttributeAdded)
Disable or enable this filter
|
void |
setNoFilterEdgeAttributeChanged(boolean noFilterEdgeAttributeChanged) |
void |
setNoFilterEdgeAttributeRemoved(boolean noFilterEdgeAttributeRemoved) |
void |
setNoFilterEdgeRemoved(boolean noFilterEdgeRemoved)
Disable or enable this filter
|
void |
setNoFilterGraphAttributeAdded(boolean noFilterGraphAttributeAdded)
Disable or enable this filter
|
void |
setNoFilterGraphAttributeChanged(boolean noFilterGraphAttributeChanged)
Disable or enable this filter
|
void |
setNoFilterGraphAttributeRemoved(boolean noFilterGraphAttributeRemoved)
Disable or enable this filter
|
void |
setNoFilterGraphCleared(boolean noFilterGraphCleared)
Disable or enable this filter
|
void |
setNoFilterNodeAdded(boolean noFilterNodeAdded)
Disable or enable this filter
|
void |
setNoFilterNodeAttributeAdded(boolean noFilterNodeAttributeAdded)
Disable or enable this filter
|
void |
setNoFilterNodeAttributeChanged(boolean noFilterNodeAttributeChanged)
Disable or enable this filter
|
void |
setNoFilterNodeAttributeRemoved(boolean noFilterNodeAttributeRemoved)
Disable or enable this filter
|
void |
setNoFilterNodeRemoved(boolean noFilterNodeRemoved)
Disable or enable this filter
|
void |
setNoFilterStepBegins(boolean noFilterStepBegins)
Disable or enable this filter
|
begin, begin, begin, end, flush, writeAll, writeAll, writeAll
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved
edgeAdded, edgeRemoved, graphCleared, nodeAdded, nodeRemoved, stepBegins
public ArrayList<String> getGraphAttributesFiltered()
public void setGraphAttributesFiltered(ArrayList<String> graphAttributesFiltered)
graphAttributesFiltered
- the new listpublic boolean addGraphAttributeFiltered(String attr)
attr
- the filtered attributepublic boolean removeGraphAttributeFilter(String attr)
attr
- the no more filtered attributepublic ArrayList<String> getNodeAttributesFiltered()
public void setNodeAttributesFiltered(ArrayList<String> nodeAttributesFiltered)
nodeAttributesFiltered
- the new listpublic boolean addNodeAttributeFiltered(String attr)
attr
- the filtered attributepublic boolean removeNodeAttributeFilter(String attr)
attr
- the no more filtered attributepublic ArrayList<String> getEdgeAttributesFiltered()
public void setEdgeAttributesFiltered(ArrayList<String> edgeAttributesFiltered)
edgeAttributesFiltered
- the new listpublic boolean addEdgeAttributeFiltered(String attr)
attr
- the filtered attributepublic boolean removeEdgeAttributeFilter(String attr)
attr
- the filtered attributepublic boolean isNoFilterGraphAttributeAdded()
public void setNoFilterGraphAttributeAdded(boolean noFilterGraphAttributeAdded)
noFilterGraphAttributeAdded
- public boolean isNoFilterGraphAttributeChanged()
public void setNoFilterGraphAttributeChanged(boolean noFilterGraphAttributeChanged)
noFilterGraphAttributeChanged
- public boolean isNoFilterGraphAttributeRemoved()
public void setNoFilterGraphAttributeRemoved(boolean noFilterGraphAttributeRemoved)
noFilterGraphAttributeRemoved
- public boolean isNoFilterNodeAttributeAdded()
public void setNoFilterNodeAttributeAdded(boolean noFilterNodeAttributeAdded)
noFilterNodeAttributeAdded
- public boolean isNoFilterNodeAttributeChanged()
public void setNoFilterNodeAttributeChanged(boolean noFilterNodeAttributeChanged)
noFilterNodeAttributeChanged
- public boolean isNoFilterNodeAttributeRemoved()
public void setNoFilterNodeAttributeRemoved(boolean noFilterNodeAttributeRemoved)
noFilterNodeAttributeRemoved
- public boolean isNoFilterNodeAdded()
public void setNoFilterNodeAdded(boolean noFilterNodeAdded)
noFilterNodeAdded
- public boolean isNoFilterNodeRemoved()
public void setNoFilterNodeRemoved(boolean noFilterNodeRemoved)
noFilterNodeRemoved
- public boolean isNoFilterEdgeAttributeAdded()
public void setNoFilterEdgeAttributeAdded(boolean noFilterEdgeAttributeAdded)
noFilterEdgeAttributeAdded
- public boolean isNoFilterEdgeAttributeChanged()
public void setNoFilterEdgeAttributeChanged(boolean noFilterEdgeAttributeChanged)
noFilterEdgeAttributeChanged
- public boolean isNoFilterEdgeAttributeRemoved()
public void setNoFilterEdgeAttributeRemoved(boolean noFilterEdgeAttributeRemoved)
noFilterEdgeAttributeRemoved
- public boolean isNoFilterEdgeAdded()
public void setNoFilterEdgeAdded(boolean noFilterEdgeAdded)
noFilterEdgeAdded
- public boolean isNoFilterEdgeRemoved()
public void setNoFilterEdgeRemoved(boolean noFilterEdgeRemoved)
noFilterEdgeRemoved
- public boolean isNoFilterGraphCleared()
public void setNoFilterGraphCleared(boolean noFilterGraphCleared)
noFilterGraphCleared
- public boolean isNoFilterStepBegins()
public void setNoFilterStepBegins(boolean noFilterStepBegins)
noFilterStepBegins
- Copyright © 2015. All rights reserved.