Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 65039 invoked from network); 4 May 2010 01:46:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 01:46:23 -0000 Received: (qmail 79090 invoked by uid 500); 4 May 2010 01:46:23 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 79073 invoked by uid 500); 4 May 2010 01:46:23 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 79064 invoked by uid 99); 4 May 2010 01:46:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 01:46:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 01:46:17 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o441jt7o004454 for ; Tue, 4 May 2010 01:45:55 GMT Message-ID: <4262462.28111272937555334.JavaMail.jira@thor> Date: Mon, 3 May 2010 21:45:55 -0400 (EDT) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Resolved: (HAMA-86) Implements generic load/save operations in hama In-Reply-To: <1323652323.1224556724221.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon resolved HAMA-86. -------------------------------- Resolution: Later It's a later issue. > Implements generic load/save operations in hama > ----------------------------------------------- > > Key: HAMA-86 > URL: https://issues.apache.org/jira/browse/HAMA-86 > Project: Hama > Issue Type: Improvement > Components: matrix > Affects Versions: 0.1.0 > Reporter: Samuel Guo > Fix For: 0.1.0 > > > Let's discuss the generic load/save operation from/to other sources(such as, FileSystem). > matrices in FileSystem may have different format, parsing of the file as a matrix depends on the format. > we may need some methods like: > /** > * Save a matrix as file using specified OutputFormat. > * > * @param path > * the file path. > * @param format > * the format of the matrix. > * @return true if saved > * @throws IOException > */ > public boolean saveAsFile(Path filepath, OutputFormat format) throws IOException; > /** > * Load a matrix from file > * > * @param path > * the file path. > * @param format > * the format of the matrix. > * @return true if saved > * @throws IOException > */ > public static Matrix loadFromFile(Path filepath, OutputFormat format) throws IOException; > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.