WeichenXu123 commented on issue #24851: [SPARK-27303][GRAPH] Add Spark Graph API
URL: https://github.com/apache/spark/pull/24851#issuecomment-536169402
 
 
   @s1ck 
   About the sealed trait, what about adding the possible interface into it and 
mark it sealed ?
   and non implemented method could throw unsupported operation exception. like
   ```
   sealed trait CypherResult {
     def df: DataFrame
     def graph: Graph // throw unsupported operation exception for now.
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to