Package org.dashbuilder.dataset

Examples of org.dashbuilder.dataset.DataSetLookup


        }
        // If the data set is not in client, then look up remotely (only if the remote access is available).
        else if (dataSetLookupService != null) {

            // First of all, get the target data set estimated size.
            final DataSetLookup lookupSourceDataSet = new DataSetLookup(request.getDataSetUUID());
            fetchMetadata(lookupSourceDataSet, new DataSetMetadataCallback() {
                public void callback(DataSetMetadata metatada) {

                    // Push smalls data sets to client.
                    if (pushRemoteDataSetEnabled && metatada.getEstimatedSize() < pushRemoteDataSetMaxSize) {
View Full Code Here


        Displayer displayer = renderer.lookupDisplayer(target);
        if (displayer == null) throw new RuntimeException(target.getType() + " displayer not supported in " + target.getRenderer() + " renderer.");
        displayer.setDisplayerSettings( target );

        // Check if a DataSet has been set instead of a DataSetLookup.
        DataSetLookup dataSetLookup = target.getDataSetLookup();
        if (target.getDataSet() != null) {
            DataSet dataSet = target.getDataSet();
            clientDataSetManager.registerDataSet(dataSet);
            dataSetLookup = new DataSetLookup(dataSet.getUUID());
        }

        DataSetHandler handler = new DataSetHandlerImpl(dataSetLookup);
        displayer.setDataSetHandler(handler);
        return displayer;
View Full Code Here

        }
        // If the data set is not in client, then look up remotely (only if the remote access is available).
        else if (dataSetLookupService != null) {

            // First of all, get the target data set estimated size.
            final DataSetLookup lookupSourceDataSet = new DataSetLookup(request.getDataSetUUID());
            fetchMetadata(lookupSourceDataSet, new DataSetMetadataCallback() {
                public void callback(DataSetMetadata metatada) {

                    // Push smalls data sets to client.
                    if (pushRemoteDataSetEnabled && metatada.getEstimatedSize() < pushRemoteDataSetMaxSize) {
View Full Code Here

TOP

Related Classes of org.dashbuilder.dataset.DataSetLookup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.