Created
August 8, 2016 21:09
-
-
Save piercelamb/e1f71a383440c626db022ba5bfeac1ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The examples below show the DataFrame API extensions made by SnappyData | |
/** | |
* Insert one or more Row into an existing table | |
*/ | |
def insert(tableName: String, rows: Row*): Int | |
/** | |
* Update all rows in table that match passed filter expression | |
*/ | |
def update(tableName: String, filterExpr: String, newColumnValues: Row, | |
updateColumns: String*): Int | |
/** | |
* Delete all rows in table that match passed filter expression | |
*/ | |
def delete(tableName: String, filterExpr: String): Int | |
/** | |
* Upsert one or more Row into an existing table | |
*/ | |
def put(tableName: String, rows: Row*): Int; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment