-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update with version 0.3.7 changes to API, update home statement
- Loading branch information
Showing
55 changed files
with
731 additions
and
375 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,10 @@ You can check out the example project found [here](https://github.com/pflooky/da | |
|
||
```shell | ||
git clone [email protected]:pflooky/data-caterer-example.git | ||
#for Scala example | ||
#src/main/scala/com/github/pflooky/plan/DocumentationPlanRun.scala | ||
#for Java example | ||
#src/main/java/com/github/pflooky/plan/DocumentationJavaPlanRun.java | ||
``` | ||
|
||
=== "Java" | ||
|
@@ -58,7 +62,6 @@ git clone [email protected]:pflooky/data-caterer-example.git | |
public class DocumentationJavaPlanRun extends PlanRun { | ||
{ | ||
var myJson = json("account_info", "/tmp/data-caterer/json") | ||
.numPartitions(1) | ||
.schema( | ||
field().name("account_id").regex("ACC[0-9]{8}"), | ||
field().name("year").type(IntegerType.instance()).min(2022).max(2023), | ||
|
@@ -85,7 +88,7 @@ git clone [email protected]:pflooky/data-caterer-example.git | |
|
||
```scala | ||
import com.github.pflooky.datacaterer.api.PlanRun | ||
import com.github.pflooky.datacaterer.api.model.{ArrayType, DateType, DoubleType} | ||
import com.github.pflooky.datacaterer.api.model.{ArrayType, DateType, DoubleType, IntegerType} | ||
import java.sql.Date | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.