Package com.illumon.iris.db.v2
Class TransformableTableMap.AsTableBuilder
java.lang.Object
com.illumon.iris.db.v2.TransformableTableMap.AsTableBuilder
- Enclosing interface:
- TransformableTableMap
public static class TransformableTableMap.AsTableBuilder extends Object
Builder object for a TableMapProxy.
By default strict keys and join sanity check are enabled; but coalescing is not. This gives you the safest possible asTable call.
-
Method Summary
Modifier and Type Method Description TransformableTableMap.AsTableBuilder
allowCoalesce(boolean allowCoalesce)
Set if operations should allow this TableMap to be automatically coalesced into a table.Table
build()
Create a Table object using this builder's current parameters.TransformableTableMap.AsTableBuilder
sanityCheckJoin(boolean sanityCheckJoins)
Set if join operations should include additional sanity checking.TransformableTableMap.AsTableBuilder
strictKeys(boolean strictKeys)
Set if operations should fail when our RHS TableMap does not have the same keySet.
-
Method Details
-
build
Create a Table object using this builder's current parameters.- Returns:
- a Table object using this builder's current parameters
-
strictKeys
Set if operations should fail when our RHS TableMap does not have the same keySet.True by default.
- Parameters:
strictKeys
- if operations should fail when our RHS TableMap does not have the same keySet- Returns:
- this builder
-
allowCoalesce
Set if operations should allow this TableMap to be automatically coalesced into a table.False by default.
- Parameters:
allowCoalesce
- if operations should allow this TableMap to be automatically coalesced into a table- Returns:
- this builder
-
sanityCheckJoin
Set if join operations should include additional sanity checking.True by default.
- Parameters:
sanityCheckJoins
- if we should sanity check join keys, meaning that we should refuse to perform any joins if the join keys would span two segments of the TableMap. This option is safer, but requires additional work on the query engine to perform the safety checks.- Returns:
- this builder
-