public void resolvePresets( final AbstractGraphRequest recipe ) { if ( recipe == null ) { return; } final GraphComposition comp = recipe.getGraphComposition(); resolvePresets( comp ); }
public void resolvePresets( final AbstractGraphRequest recipe ) { if ( recipe == null ) { return; } final GraphComposition comp = recipe.getGraphComposition(); resolvePresets( comp ); }
@JsonIgnore public void setDefaultPreset( final String defaultPreset ) { getGraphComposition().setDefaultPreset( defaultPreset ); }
public void resolveMutators( final AbstractGraphRequest recipe ) { if ( recipe == null ) { return; } final GraphComposition comp = recipe.getGraphComposition(); resolveMutators( comp ); }
public void resolveMutators( final AbstractGraphRequest recipe ) { if ( recipe == null ) { return; } final GraphComposition comp = recipe.getGraphComposition(); resolveMutators( comp ); }
@JsonIgnore public void setDefaultPreset( final String defaultPreset ) { getGraphComposition().setDefaultPreset( defaultPreset ); }
@JsonIgnore public boolean isValid() { return getWorkspaceId() != null && getSourceLocation() != null && getGraphComposition() != null && getGraphComposition().valid(); }
@JsonIgnore public boolean isValid() { return getWorkspaceId() != null && getSourceLocation() != null && getGraphComposition() != null && getGraphComposition().valid(); }
/** * Resolve any variable versions in the specified root GAVs of the {@link GraphComposition} embeded in the * {@link AbstractGraphRequest}. Then retrieve, and if configured, discover missing parts of the relationship * graph. Return a mapping of {@link GraphDescription} to the {@link ViewParams} used during resolution, * which might contain root GAVs different than those given in the original {@link AbstractGraphRequest} due to * potential root GAV differences from resolution of variable versions. */ public LinkedHashMap<GraphDescription, RelationshipGraph> resolveToGraphMap( final AbstractGraphRequest recipe ) throws CartoDataException, CartoRequestException { recipeResolver.resolve( recipe ); final LinkedHashMap<GraphDescription, RelationshipGraph> result = new LinkedHashMap<>(); for ( final GraphDescription desc : recipe.getGraphComposition() ) { resolveGraph( desc, recipe, ( graph ) -> result.put( desc, graph ) ); } return result; }
public void normalize() { getGraphComposition().normalize(); normalize( patcherIds ); }
public void normalize() { getGraphComposition().normalize(); normalize( patcherIds ); }
/** * Resolve any variable versions in the specified root GAVs of the {@link GraphComposition} embeded in the * {@link AbstractGraphRequest}. Then retrieve, and if configured, discover missing parts of the relationship * graph. Return a mapping of {@link GraphDescription} to the {@link ViewParams} used during resolution, * which might contain root GAVs different than those given in the original {@link AbstractGraphRequest} due to * potential root GAV differences from resolution of variable versions. */ public LinkedHashMap<GraphDescription, RelationshipGraph> resolveToGraphMap( final AbstractGraphRequest recipe ) throws CartoDataException, CartoRequestException { recipeResolver.resolve( recipe ); final LinkedHashMap<GraphDescription, RelationshipGraph> result = new LinkedHashMap<>(); for ( final GraphDescription desc : recipe.getGraphComposition() ) { resolveGraph( desc, recipe, ( graph ) -> result.put( desc, graph ) ); } return result; }
/** * Resolve any variable versions in the specified root GAVs of the {@link GraphComposition} embeded in the * {@link AbstractGraphRequest}. Then retrieve, and if configured, discover missing parts of the relationship * graph. Return a mapping of {@link GraphDescription} to the {@link ViewParams} used during resolution, * which might contain root GAVs different than those given in the original {@link AbstractGraphRequest} due to * potential root GAV differences from resolution of variable versions. */ public void resolveGraphs( final AbstractGraphRequest recipe, final Consumer<RelationshipGraph> consumer ) throws CartoDataException, CartoRequestException { recipeResolver.resolve( recipe ); for ( final GraphDescription desc : recipe.getGraphComposition() ) { resolveGraph( desc, recipe, consumer ); } }
/** * Resolve any variable versions in the specified root GAVs of the {@link GraphComposition} embeded in the * {@link AbstractGraphRequest}. Then retrieve, and if configured, discover missing parts of the relationship * graph. Return a mapping of {@link GraphDescription} to the {@link ViewParams} used during resolution, * which might contain root GAVs different than those given in the original {@link AbstractGraphRequest} due to * potential root GAV differences from resolution of variable versions. */ public void resolveGraphs( final AbstractGraphRequest recipe, final Consumer<RelationshipGraph> consumer ) throws CartoDataException, CartoRequestException { recipeResolver.resolve( recipe ); for ( final GraphDescription desc : recipe.getGraphComposition() ) { resolveGraph( desc, recipe, consumer ); } }
for ( final GraphDescription desc : recipe.getGraphComposition() )
for ( final GraphDescription desc : recipe.getGraphComposition() )