The Sink has the task to persist extracted triples. Any implementation, must implement the interface org.dice_research.squirrel.sink.Sink. At the moment, three sinks are implemented:
<bean id="outputFolderBean" class="java.io.File">
<constructor-arg index="0"
value="#{systemEnvironment['OUTPUT_FOLDER']}" />
</bean>
<bean id="sinkBean"
class="org.dice_research.squirrel.sink.impl.file.FileBasedSink"/>
<constructor-arg name="outputDirectory"
ref="outputFolderBean" />
<constructor-arg name="useCompression" value="false" />
</bean/>
<bean id="outputFolderBean" class="java.io.File">
<constructor-arg index="0"
value="#{systemEnvironment['OUTPUT_FOLDER']}" />
</bean>
<bean id="sinkBean"
class="org.dice_research.squirrel.sink.impl.hdt.HdtBasedSink">
<constructor-arg name="outputDirectory" ref="outputFolderBean" /> </bean>
<bean id="sinkBean" class="org.dice_research.squirrel.sink.impl.sparql.SparqlBasedSink" factory-method="create">
<constructor-arg index="0" value="#{systemEnvironment['SPARQL_URL']}" />
<constructor-arg index="1" value="#{systemEnvironment['SPARQL_HOST_USER']}" />
<constructor-arg index="2" value="#{systemEnvironment['SPARQL_HOST_PASSWD']}" />
<constructor-arg index="3" value="1000" />
<constructor-arg index="4" value="10" />
</bean>