
com.github.leeonky.dal.ast.node.table.TableHeadRow Maven / Gradle / Ivy
package com.github.leeonky.dal.ast.node.table;
import com.github.leeonky.dal.ast.node.DALNode;
import com.github.leeonky.dal.ast.node.SortGroupNode;
import com.github.leeonky.dal.ast.node.TableNode;
import com.github.leeonky.dal.runtime.RuntimeContextBuilder;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Optional;
import static com.github.leeonky.dal.ast.node.InputNode.INPUT_NODE;
import static java.util.stream.Collectors.toList;
public class TableHeadRow extends DALNode {
private final List headers;
public TableHeadRow(List headers) {
this.headers = headers.stream().map(HeaderNode.class::cast).collect(toList());
}
@Override
public String inspect() {
return TableNode.printLine(headers) + "\n";
}
public Comparator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy