summaryrefslogtreecommitdiff
path: root/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi')
-rw-r--r--opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi/TraceFormat.kt16
1 files changed, 13 insertions, 3 deletions
diff --git a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi/TraceFormat.kt b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi/TraceFormat.kt
index 46ef051d..83537822 100644
--- a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi/TraceFormat.kt
+++ b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/spi/TraceFormat.kt
@@ -61,7 +61,10 @@ public interface TraceFormat {
* @throws IllegalArgumentException If [table] does not exist.
* @return The [TableDetails] for the specified [table].
*/
- public fun getDetails(path: Path, table: String): TableDetails
+ public fun getDetails(
+ path: Path,
+ table: String,
+ ): TableDetails
/**
* Open a [TableReader] for the specified [table].
@@ -72,7 +75,11 @@ public interface TraceFormat {
* @throws IllegalArgumentException If [table] does not exist.
* @return A [TableReader] instance for the table.
*/
- public fun newReader(path: Path, table: String, projection: List<String>?): TableReader
+ public fun newReader(
+ path: Path,
+ table: String,
+ projection: List<String>?,
+ ): TableReader
/**
* Open a [TableWriter] for the specified [table].
@@ -83,7 +90,10 @@ public interface TraceFormat {
* @throws UnsupportedOperationException If the format does not support writing.
* @return A [TableWriter] instance for the table.
*/
- public fun newWriter(path: Path, table: String): TableWriter
+ public fun newWriter(
+ path: Path,
+ table: String,
+ ): TableWriter
/**
* A helper object for resolving providers.