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

org.finos.legend.pure.generated.core_servicestore_contract_storeContract Maven / Gradle / Ivy

The newest version!
package org.finos.legend.pure.generated;
import org.eclipse.collections.api.list.ListIterable;
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.api.RichIterable;
import org.eclipse.collections.api.map.MutableMap;
import org.eclipse.collections.impl.factory.Lists;
import org.eclipse.collections.impl.map.mutable.UnifiedMap;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.coreinstance.*;
import org.eclipse.collections.api.block.function.Function2;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.map.PureMap;
import org.eclipse.collections.api.block.function.Function0;
import org.eclipse.collections.api.block.function.Function;
import org.finos.legend.pure.m3.execution.ExecutionSupport;
import org.eclipse.collections.impl.factory.Maps;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.*;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.function.defended.*;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.function.*;
import org.finos.legend.pure.runtime.java.compiled.execution.*;
import org.finos.legend.pure.runtime.java.compiled.execution.sourceInformation.*;
public class core_servicestore_contract_storeContract
{
    public static MutableMap> __functions = Maps.mutable.empty();
    static
    {
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$0", new DefaultPureLambdaFunction1()
{
     public java.lang.Boolean execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.SetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.Boolean value(final org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.SetImplementation _s, final ExecutionSupport es)
     {
return (org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class.isInstance(_s) || org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation.class.isInstance(_s));
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$1", new DefaultPureLambdaFunction1()
{
     public java.lang.Boolean execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.m3.coreinstance.meta.pure.store.Store)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.Boolean value(final org.finos.legend.pure.m3.coreinstance.meta.pure.store.Store _s, final ExecutionSupport es)
     {
return org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore.class.isInstance(_s);
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$12", new DefaultPureLambdaFunction2, RichIterable>>()
{
     public RichIterable> execute(ListIterable vars, ExecutionSupport es)
     {
         return value((java.lang.String)CompiledSupport.makeOne(vars.get(0)),(RichIterable)(Object)CompiledSupport.toPureCollection(vars.get(1)), es);
     }

     public RichIterable> value(final java.lang.String _space,final RichIterable _extensions, final ExecutionSupport es)
     {
return CompiledSupport.toPureCollection(Lists.mutable.>with(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$9")
), (
new DefendedPureLambdaFunction1()
{
private final MutableMap __vars = Maps.fixedSize.of("extensions", _extensions,"space", _space);
     public java.lang.String execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.String value(final org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _s, final ExecutionSupport es)
     {
return core_servicestore_executionPlan_executionPlan_print.Root_meta_external_store_service_executionPlan_toString_serviceStoreExecutionNodeToString_RestServiceExecutionNode_1__String_1__Extension_MANY__String_1_(_s,_space,CompiledSupport.toPureCollection(_extensions),es);
     }
     public MutableMap getOpenVariables()
     {
         return this.__vars;
     }
}

))
,new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$10")
), (
new DefendedPureLambdaFunction1()
{
private final MutableMap __vars = Maps.fixedSize.of("extensions", _extensions,"space", _space);
     public java.lang.String execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_ServiceParametersResolutionExecutionNode)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.String value(final org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_ServiceParametersResolutionExecutionNode _sp, final ExecutionSupport es)
     {
return core_servicestore_executionPlan_executionPlan_print.Root_meta_external_store_service_executionPlan_toString_serviceParametersResolutionExecutionNodeToString_ServiceParametersResolutionExecutionNode_1__String_1__Extension_MANY__String_1_(_sp,_space,CompiledSupport.toPureCollection(_extensions),es);
     }
     public MutableMap getOpenVariables()
     {
         return this.__vars;
     }
}

))
,new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$11")
), (
new DefendedPureLambdaFunction1()
{
private final MutableMap __vars = Maps.fixedSize.of("extensions", _extensions,"space", _space);
     public java.lang.String execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_LimitExecutionNode)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.String value(final org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_LimitExecutionNode _l, final ExecutionSupport es)
     {
return core_servicestore_executionPlan_executionPlan_print.Root_meta_external_store_service_executionPlan_toString_limitExecutionNodeToString_LimitExecutionNode_1__String_1__Extension_MANY__String_1_(_l,_space,CompiledSupport.toPureCollection(_extensions),es);
     }
     public MutableMap getOpenVariables()
     {
         return this.__vars;
     }
}

))
));
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$5", new DefaultPureLambdaFunction1()
{
     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore value(final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation _e, final ExecutionSupport es)
     {
return CompiledSupport.castWithExceptionHandling(core_pure_mapping_mappingExtension.Root_meta_pure_router_clustering_resolveRootFromEmbedded_EmbeddedSetImplementation_1__InstanceSetImplementation_1_(_e,es),org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class,new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 47, 157, -1, -1)).serviceStore(es);
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$3", new DefaultPureLambdaFunction1()
{
     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore value(final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation _r, final ExecutionSupport es)
     {
return _r.serviceStore(es);
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$8", new DefaultPureLambdaFunction1, org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.LambdaFunction>()
{
     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.LambdaFunction execute(ListIterable vars, ExecutionSupport es)
     {
         return value((RichIterable)(Object)CompiledSupport.toPureCollection(vars.get(0)), es);
     }

     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.LambdaFunction value(final RichIterable _extensions, final ExecutionSupport es)
     {
return new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$7")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$7")
))
;
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$19", new DefaultPureLambdaFunction()
{
     public java.lang.Boolean execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.InstanceSetImplementation)CompiledSupport.makeOne(vars.get(0)),(RichIterable>)(Object)CompiledSupport.toPureCollection(vars.get(1)),(org.finos.legend.pure.runtime.java.compiled.generation.processors.support.map.PureMap)CompiledSupport.makeOne(vars.get(2)), es);
     }

     public java.lang.Boolean value(final org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.InstanceSetImplementation _set,final RichIterable> _xProperties,final org.finos.legend.pure.runtime.java.compiled.generation.processors.support.map.PureMap _params, final ExecutionSupport es)
     {
return ((java.lang.Boolean)(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class.isInstance(_set)?core_servicestore_executionPlan_executionPlan_generation.Root_meta_external_store_service_executionPlan_generation_querySupportsBatching_AbstractProperty_MANY__Map_1__RootServiceInstanceSetImplementation_1__Boolean_1_(CompiledSupport.toPureCollection(_xProperties),_params,CompiledSupport.castWithExceptionHandling(_set,org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class,new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 70, 125, -1, -1)),es):false));
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$6", new DefaultPureLambdaFunction1()
{
     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.InstanceSetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore value(final org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.InstanceSetImplementation _s, final ExecutionSupport es)
     {
return (org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceStore)(Pure.matches(_s,org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class,1,1)?
   (new DefendedFunction()
   {
       public Object valueOf(final Object _r_As_Object)
       {
            final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation _r = (org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation)CompiledSupport.makeOne(_r_As_Object);
            return _r.serviceStore(es);
       }
   }).valueOf(CompiledSupport.first(_s))
:
(Pure.matches(_s,org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation.class,1,1)?
   (new DefendedFunction()
   {
       public Object valueOf(final Object _e_As_Object)
       {
            final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation _e = (org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation)CompiledSupport.makeOne(_e_As_Object);
            return CompiledSupport.castWithExceptionHandling(core_pure_mapping_mappingExtension.Root_meta_pure_router_clustering_resolveRootFromEmbedded_EmbeddedSetImplementation_1__InstanceSetImplementation_1_(_e,es),org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation.class,new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 47, 157, -1, -1)).serviceStore(es);
       }
   }).valueOf(CompiledSupport.first(_s))
:
CompiledSupport.matchFailure(_s,new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 44, 77, -1, -1))))
;
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$7", new DefaultPureLambdaFunction1()
{
     public java.lang.String execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_runtime_ServiceStoreConnection)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public java.lang.String value(final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_runtime_ServiceStoreConnection _s, final ExecutionSupport es)
     {
return core_servicestore_executionPlan_executionPlan_print.Root_meta_external_store_service_executionPlan_toString_serviceStoreConnectionToString_ServiceStoreConnection_1__String_1_(_s,es);
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$16", new DefaultPureLambdaFunction1>()
{
     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Class execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Class value(final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_EmbeddedServiceStoreSetImplementation _e, final ExecutionSupport es)
     {
return _e._class();
     }
}
);
        __functions.put("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$14", new DefaultPureLambdaFunction1>()
{
     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Class execute(ListIterable vars, ExecutionSupport es)
     {
         return value((org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation)CompiledSupport.makeOne(vars.get(0)), es);
     }

     public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Class value(final org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_mapping_RootServiceInstanceSetImplementation _s, final ExecutionSupport es)
     {
return _s._class();
     }
}
);
    }

public static org.finos.legend.pure.generated.Root_meta_pure_store_StoreContract Root_meta_external_store_service_contract_serviceStoreStoreContract__StoreContract_1_(final ExecutionSupport es)
{
return new org.finos.legend.pure.generated.Root_meta_pure_store_StoreContract_Impl("Anonymous_NoCounter")._id("serviceStore")._supports(((org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.ConcreteFunctionDefinition)((CompiledExecutionSupport)es).getMetadata("meta::pure::metamodel::function::ConcreteFunctionDefinition","Root::meta::external::store::service::contract::supports_FunctionExpression_1__Boolean_1_")))._planExecution(((org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.ConcreteFunctionDefinition)((CompiledExecutionSupport)es).getMetadata("meta::pure::metamodel::function::ConcreteFunctionDefinition","Root::meta::external::store::service::contract::planExecution_StoreQuery_1__RoutedValueSpecification_$0_1$__Mapping_$0_1$__Runtime_$0_1$__ExecutionContext_1__Extension_MANY__DebugContext_1__ExecutionNode_1_")))._planGraphFetchExecution(((org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.ConcreteFunctionDefinition)((CompiledExecutionSupport)es).getMetadata("meta::pure::metamodel::function::ConcreteFunctionDefinition","Root::meta::external::store::service::contract::planGraphFetchExecution_StoreMappingLocalGraphFetchExecutionNodeGenerationInput_1__LocalGraphFetchExecutionNode_1_")))._planCrossGraphFetchExecution(((org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.ConcreteFunctionDefinition)((CompiledExecutionSupport)es).getMetadata("meta::pure::metamodel::function::ConcreteFunctionDefinition","Root::meta::external::store::service::contract::planCrossGraphFetchExecution_StoreMappingCrossLocalGraphFetchExecutionNodeGenerationInput_1__LocalGraphFetchExecutionNode_1_")))._supportsSetImplementation(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$0")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$0")
))
)._supportsStore(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$1")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$1")
))
)._resolveStoreFromSetImplementation(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$6")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$6")
))
)._supportsNativeJoinAmongElements(false)._printConnectionToString(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$8")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$8")
))
)._printPlanNodeToString(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$12")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$12")
))
)._extractSourceClassFromSetImplementation(Lists.mutable.>with(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$14")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$14")
))
,new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$16")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$16")
))
))._crossStoreSourceSupportsBatching(new PureCompiledLambda(
(((CompiledExecutionSupport)es).getMetadataAccessor().getLambdaFunction("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$19")
), (
core_servicestore_contract_storeContract.__functions.get("meta$external$store$service$contract$serviceStoreStoreContract$1$system$imports$import__core_servicestore_contract_storeContract_pure_1$19")
))
);
}

public static org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode Root_meta_external_store_service_contract_planExecution_StoreQuery_1__RoutedValueSpecification_$0_1$__Mapping_$0_1$__Runtime_$0_1$__ExecutionContext_1__Extension_MANY__DebugContext_1__ExecutionNode_1_(final org.finos.legend.pure.generated.Root_meta_pure_mapping_StoreQuery _sq, final org.finos.legend.pure.m3.coreinstance.meta.pure.router.RoutedValueSpecification _ext, final org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.Mapping _mapping, final org.finos.legend.pure.generated.Root_meta_core_runtime_Runtime _runtime, final org.finos.legend.pure.generated.Root_meta_pure_runtime_ExecutionContext _exeCtx, final RichIterable _extensions, final org.finos.legend.pure.generated.Root_meta_pure_tools_DebugContext _debug,final ExecutionSupport es)
{
final org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.FunctionExpression _fe = CompiledSupport.castWithExceptionHandling(_sq._fe(),org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.FunctionExpression.class,new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 80, 46, -1, -1));
platform_pure_essential_tests_assert.Root_meta_pure_functions_asserts_assert_Boolean_1__String_1__Boolean_1_(core_functions_unclassified_collection_in.Root_meta_pure_functions_collection_in_Any_1__Any_MANY__Boolean_1_(_fe._func(),CompiledSupport.toPureCollection(core_pure_graphFetch_graphFetch.Root_meta_pure_graphFetch_execution_graphFetchFunctions__Function_MANY_(es)),es),"Service Store supports graphFetch queries only",es);
return core_pure_graphFetch_graphFetchExecutionPlan.Root_meta_pure_graphFetch_executionPlan_planGraphFetchExecution_StoreQuery_1__RoutedValueSpecification_$0_1$__Mapping_1__Runtime_1__ExecutionContext_1__Extension_MANY__DebugContext_1__ExecutionNode_1_(_sq,_ext,CompiledSupport.toOne(_mapping, new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 82, 49, -1, -1)),CompiledSupport.toOne(_runtime, new org.finos.legend.pure.m4.coreinstance.SourceInformation("/core_servicestore/contract/storeContract.pure", -1, -1, 82, 68, -1, -1)),_exeCtx,CompiledSupport.toPureCollection(_extensions),_debug,es);
}

public static org.finos.legend.pure.generated.Root_meta_pure_graphFetch_executionPlan_LocalGraphFetchExecutionNode Root_meta_external_store_service_contract_planGraphFetchExecution_StoreMappingLocalGraphFetchExecutionNodeGenerationInput_1__LocalGraphFetchExecutionNode_1_(final org.finos.legend.pure.generated.Root_meta_pure_graphFetch_executionPlan_StoreMappingLocalGraphFetchExecutionNodeGenerationInput _input,final ExecutionSupport es)
{
return core_servicestore_executionPlan_executionPlan_generation.Root_meta_external_store_service_executionPlan_generation_planRootGraphFetchExecutionServiceStore_StoreQuery_1__RoutedValueSpecification_$0_1$__StoreMappingClusteredGraphFetchTree_1__String_MANY__Mapping_1__Runtime_1__ExecutionContext_1__Boolean_1__Boolean_1__Extension_MANY__DebugContext_1__InMemoryRootGraphFetchExecutionNode_1_(_input._storeQuery(),_input._ext(),_input._clusteredTree(),CompiledSupport.toPureCollection(_input._orderedPaths()),_input._mapping(),_input._runtime(),_input._exeCtx(),_input._enableConstraints(),_input._checked(),CompiledSupport.toPureCollection(_input._extensions()),_input._debug(),es);
}

public static org.finos.legend.pure.generated.Root_meta_pure_graphFetch_executionPlan_LocalGraphFetchExecutionNode Root_meta_external_store_service_contract_planCrossGraphFetchExecution_StoreMappingCrossLocalGraphFetchExecutionNodeGenerationInput_1__LocalGraphFetchExecutionNode_1_(final org.finos.legend.pure.generated.Root_meta_pure_graphFetch_executionPlan_StoreMappingCrossLocalGraphFetchExecutionNodeGenerationInput _input,final ExecutionSupport es)
{
return core_servicestore_executionPlan_executionPlan_generation.Root_meta_external_store_service_executionPlan_generation_planCrossStoreGraphFetchExecutionServiceStore_StoreMappingClusteredGraphFetchTree_1__String_MANY__String_1__Map_1__Mapping_1__Runtime_1__ExecutionContext_1__Boolean_1__Boolean_1__Extension_MANY__DebugContext_1__InMemoryCrossStoreGraphFetchExecutionNode_1_(_input._clusteredTree(),CompiledSupport.toPureCollection(_input._orderedPaths()),_input._parentPath(),_input._inScopeVars(),_input._mapping(),_input._runtime(),_input._exeCtx(),_input._enableConstraints(),_input._checked(),CompiledSupport.toPureCollection(_input._extensions()),_input._debug(),es);
}

public static boolean Root_meta_external_store_service_contract_supports_FunctionExpression_1__Boolean_1_(final org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.FunctionExpression _f,final ExecutionSupport es)
{
return !(platform_pure_grammar_functions_collection_size_isEmpty.Root_meta_pure_functions_collection_isEmpty_Any_$0_1$__Boolean_1_(core_servicestore_pureToServiceStoreQuery_pureToServiceStoreQuery.Root_meta_external_store_service_functions_pureToServiceStoreQuery_findSupportedFunction_FunctionExpression_1__Map_1__Function_$0_1$_(_f,core_servicestore_pureToServiceStoreQuery_pureToServiceStoreQuery.Root_meta_external_store_service_functions_pureToServiceStoreQuery_getSupportedFunctions__Map_1_(es),es),es));
}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy