/** * Serializes the specified {@code binding} into the given output stream. By * default the output is not compressed. * * @param out * the output stream to write in. * @param binding * the {@link Binding} to serialize. */ public static void serialize(OutputStream out, Binding binding) { serialize(out, binding, false); }
/** * Serializes the specified {@code resultSet} into the given output stream * by using the TSV format. By default the output is not compressed. * * @param out * the output stream to write in. * @param resultSet * the {@link ResultSet} to serialize. */ public static void serialize(OutputStream out, ResultSet resultSet) { serialize(out, resultSet, false); }
/** * Serializes the specified {@code model} by using the TURTLE syntax. By * default the output is not compressed. * * @param out * the output stream to write in. * @param model * the {@link Model} to serialize. */ public static void serialize(OutputStream out, Model model) { serialize(out, model, false); }
private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); SparqlResultSerializer.serialize( out, this, EventCloudProperties.COMPRESSION.getValue()); }
/** * {@inheritDoc} */ @Override protected void internalWriteObject(ObjectOutputStream out) throws IOException { SparqlResultSerializer.serialize( out, super.object, EventCloudProperties.COMPRESSION.getValue()); }
/** * {@inheritDoc} */ @Override protected void internalWriteObject(ObjectOutputStream out) throws IOException { SparqlResultSerializer.serialize( out, this, EventCloudProperties.COMPRESSION.getValue()); }
/** * {@inheritDoc} */ @Override protected void internalWriteObject(ObjectOutputStream out) throws IOException { SparqlResultSerializer.serialize( out, this, EventCloudProperties.COMPRESSION.getValue()); }