public static Stream<? extends Document> traverseOver(Table table) {
        return Stream.of(
                table.columns(), table.columns().flatMap(DocumentDbUtil::traverseOver),
                table.primaryKeyColumns(), table.primaryKeyColumns().flatMap(DocumentDbUtil::traverseOver),
                table.indexes(), table.indexes().flatMap(DocumentDbUtil::traverseOver),
                table.foreignKeys(), table.foreignKeys().flatMap(DocumentDbUtil::traverseOver)
        ).flatMap(Function.identity());
    }
Common utility methods specific to the database document model.

@author  Per Minborg
@author  Emil Forslund
@since   2.3.0
runtime-parent/runtime-config/src/main/java/com/speedment/runtime/config/util/DocumentDbUtil.java