/** * Deserializes a {@link ResultSet} by reading bytes from the specified * input stream. It assumes the output is not compressed. * * @param in * the input stream to read from. * * @return the {@link ResultSet} read from the input stream. */ public static ResultSet deserializeResultSet(InputStream in) { return deserializeResultSet(in, false); }
/** * {@inheritDoc} */ @Override protected void internalReadObject(ObjectInputStream in) throws IOException { this.object = SparqlResultSerializer.deserializeResultSet( in, EventCloudProperties.COMPRESSION.getValue()); }