All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kenshoo.pl.entity.internal.fetch.ToEdgesOf Maven / Gradle / Ivy

Go to download

A Java persistence layer based on JOOQ for high performance and business flow support.

There is a newer version: 0.1.121-jooq-3.16.3
Show newest version
package com.kenshoo.pl.entity.internal.fetch;

import com.kenshoo.jooq.DataTable;
import org.jooq.ForeignKey;
import org.jooq.Record;

import java.util.function.Function;

public  class ToEdgesOf implements Function, TreeEdge> {

    private final TreeNode node;

    public ToEdgesOf(TreeNode node) {
        this.node = node;
    }

    @Override
    public TreeEdge apply(ForeignKey foreignKey) {
        return new TreeEdge(node, (DataTable) foreignKey.getTable());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy