summaryrefslogtreecommitdiff
path: root/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-20 15:40:13 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-20 15:40:13 +0200
commit140aafdaa711b0fdeacf99b9c7e70b706b8490f4 (patch)
treec814e3a92eddfc123d8754b299257058d4763710 /opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace
parente765316cfc089dd50602759ea7afbcc7a3cd4c00 (diff)
feat(trace): Add property for describing partition keys
Diffstat (limited to 'opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace')
-rw-r--r--opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/Table.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/Table.kt b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/Table.kt
index 6aca2051..164f5084 100644
--- a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/Table.kt
+++ b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/Table.kt
@@ -42,6 +42,11 @@ public interface Table {
public val columns: List<TableColumn<*>>
/**
+ * The columns by which the table is partitioned.
+ */
+ public val partitionKeys: List<TableColumn<*>>
+
+ /**
* Open a [TableReader] for this table.
*/
public fun newReader(): TableReader