presto-main/src/main/java/io/prestosql/metadata/Metadata.java/Metadata/applyLimit
class Metadata:    Optional<LimitApplicationResult<TableHandle>> applyLimit(Session session, TableHandle table, long limit);