Class ShardOrganizerUtil
java.lang.Object
io.trino.plugin.raptor.legacy.storage.organization.ShardOrganizerUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ShardIndexInfo>getOrganizationEligibleShards(org.jdbi.v3.core.Jdbi dbi, MetadataDao metadataDao, Table tableInfo, Collection<ShardMetadata> shards, boolean includeSortColumns) static Collection<Collection<ShardIndexInfo>>getShardsByDaysBuckets(Table tableInfo, Collection<ShardIndexInfo> shards)
-
Method Details
-
getOrganizationEligibleShards
public static Collection<ShardIndexInfo> getOrganizationEligibleShards(org.jdbi.v3.core.Jdbi dbi, MetadataDao metadataDao, Table tableInfo, Collection<ShardMetadata> shards, boolean includeSortColumns) -
getShardsByDaysBuckets
public static Collection<Collection<ShardIndexInfo>> getShardsByDaysBuckets(Table tableInfo, Collection<ShardIndexInfo> shards)
-