conflict_resolution
stringlengths
27
16k
<<<<<<< ======= import soot.PointsToAnalysis; import soot.PointsToSet; import soot.PrimType; import soot.RefType; import soot.Scene; >>>>>>> <<<<<<< ======= >>>>>>> <<<<<<< res.add(source.deriveNewAbstraction(source.getAccessPath().copyWithNewValue(leftValue))); ======= ...
<<<<<<< Assert.assertEquals(1, infoflow.getResults().getResults().get(sinkStringInt).size()); Assert.assertEquals(SOURCE_STRING_PWD, infoflow.getResults().getResults().get(sinkStringInt).iterator().next().getSource()); ======= >>>>>>>
<<<<<<< final ISourceSinkManager sourceSinkManager; Abstraction zeroValue = null; private final Logger logger = LoggerFactory.getLogger(getClass()); ======= private final ISourceSinkManager sourceSinkManager; private Abstraction zeroValue = null; >>>>>>> private final ISourceSinkManager sourceSinkManage...
<<<<<<< protected static final String sinkString = "<soot.jimple.infoflow.test.android.ConnectionManager: void publish(java.lang.String)>"; protected static final String sinkStringInt = "<soot.jimple.infoflow.test.android.ConnectionManager: void publish(int)>"; protected static final String sourceString = "...
<<<<<<< if (taintedPath.getPlainValue().equals(param)) { ======= if (param.equals(taintedPath.getPlainValue())) { SootMethod method = stmt.getInvokeExpr().getMethod(); List<String> methodList = getMethodsForClass(method.getDeclaringClass()); >>>>>>> if (param.equals(taintedPath.getPlainValue()))...
<<<<<<< import soot.jimple.infoflow.data.Abstraction; import soot.jimple.infoflow.heros.InfoflowSolver; import soot.jimple.infoflow.entryPointCreators.AndroidEntryPointCreator; import soot.jimple.infoflow.entryPointCreators.IEntryPointCreator; ======= import soot.jimple.infoflow.data.Abstraction; import soot.jimple.i...
<<<<<<< import org.junit.After; import org.junit.Before; ======= import gaffer.user.User; import org.junit.AfterClass; import org.junit.BeforeClass; >>>>>>> import gaffer.user.User; import org.junit.After; import org.junit.Before; <<<<<<< Iterable<Element> elementsInRanges = handler.doOperation(operation, s...
<<<<<<< import gaffer.store.StoreProperties; import gaffer.store.schema.Schema; ======= import gaffer.store.schema.StoreSchema; >>>>>>> import gaffer.store.schema.Schema; <<<<<<< * re-add or update the aggregator iterator that is set on a table The main * method takes 3 arguments, a comma separate list of paths t...
<<<<<<< @Override public void shouldShallowCloneOperation() { // Given final ImportAccumuloKeyValueFiles importAccumuloKeyValueFiles = new ImportAccumuloKeyValueFiles.Builder() .inputPath(INPUT_DIRECTORY) .failurePath(FAIL_DIRECTORY) .option("test...
<<<<<<< import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; ======= import java.util.Collection; >>>>>>> import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Collection; <<<<<<< @Test public void shouldConvertMapToStringKeys() { ...
<<<<<<< import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.google.common.collect.Lists; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; ======= import com.fasterxml.jackson.core.type.TypeReference; >>>>>>> import com.fasterxml.jackson.annot...
<<<<<<< private Serialisation serialiser; private String position; ======= private Serialisation serialiser = DEFAULT_SERIALISER; >>>>>>> private Serialisation serialiser;
<<<<<<< .input(getElements(javaSparkContext, withVisibilities)) .javaSparkContext(javaSparkContext) .build(), USER); ======= .input(getElements(javaSparkContext)) .build(), USER); >>>>>>> ...
<<<<<<< import java.io.IOException; import java.util.HashSet; import java.util.Set; import gaffer.accumulostore.utils.AccumuloTestData; import org.apache.hadoop.util.bloom.BloomFilter; import org.apache.hadoop.util.hash.Hash; import org.hamcrest.core.IsCollectionContaining; import org.junit.After; import org.junit.Bef...
<<<<<<< } catch (final AssertionError e) { throw new AssertionError("GetElementsBySeed failed with parameters: \nincludeEntities=" + includeEntities + " \nincludeEdges=" + includeEdges + " \ndirectedType=" + directedType + " \ninOut...
<<<<<<< ======= import uk.gov.gchq.gaffer.commonutil.iterable.CloseableIterable; import uk.gov.gchq.gaffer.federatedstore.FederatedStore; import uk.gov.gchq.gaffer.federatedstore.exception.StorageException; >>>>>>> <<<<<<< ======= import uk.gov.gchq.gaffer.operation.Operation; import uk.gov.gchq.gaffer.operation....
<<<<<<< expected.add(DataGen.getEdge("BasicEdge", x, x + 1, true, (byte) 'b', (0.2 * x) + 0.3, 6f, TestUtils.MERGED_TREESET, (6L * x) + 5L, (short) 13, TestUtils.DATE, TestUtils.MERGED_FREQMAP, 2)); expected.add(DataGen.getEdge("BasicEdge", x, x + 1, false, (byte) 'a', 0.2 * x, 2f, TestUtils.get...
<<<<<<< import org.apache.accumulo.core.client.IteratorSetting; import org.apache.accumulo.core.data.Range; import java.util.Set; public class AccumuloRangeIDRetriever extends AccumuloItemRetriever<GetOperationWithPair<ElementSeed, ?>, Pair<ElementSeed>> { ======= /** * This allows queries for all data from betwe...
<<<<<<< import org.n52.sos.ds.hibernate.entities.series.Series; import org.n52.sos.ds.hibernate.entities.series.SeriesObservation; ======= import org.n52.sos.ds.hibernate.util.HibernateGeometryCreator; >>>>>>> import org.n52.sos.ds.hibernate.entities.series.Series; import org.n52.sos.ds.hibernate.entities.series.Ser...
<<<<<<< super(); this.setStoreClass(ParquetStore.class); ======= super(ParquetStore.class); >>>>>>> super(); this.setStoreClass(ParquetStore.class); <<<<<<< super(propFileLocation); if (null == getStoreClass()) { setStoreClass(ParquetStore.class); ...
<<<<<<< import gaffer.data.elementdefinition.schema.DataSchema; import gaffer.data.elementdefinition.schema.exception.SchemaException; ======= import gaffer.commonutil.TestGroups; import gaffer.commonutil.TestPropertyNames; import gaffer.data.element.Element; >>>>>>> import gaffer.commonutil.TestGroups; import gaffe...
<<<<<<< import java.util.List; ======= import java.util.Optional; >>>>>>> import java.util.List; import java.util.Optional; <<<<<<< @Test public void shouldReturnSpecificGraphsFromCSVString() throws StoreException { // Given store.initialise(FEDERATED_STORE_ID, null, federatedProperties); ...
<<<<<<< @Override public void shouldShallowCloneOperation() { // Given List<String> input = Lists.newArrayList("test1", "test2"); ElementGeneratorImpl generator = new ElementGeneratorImpl(); GenerateElements<?> generateElements = new GenerateElements.Builder<String>() ...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final Entity input = new Entity.Builder() .g...
<<<<<<< import com.fasterxml.jackson.annotation.JsonInclude; ======= import com.fasterxml.jackson.annotation.JsonPropertyOrder; >>>>>>> import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPropertyOrder;
<<<<<<< store.initialise(TEST_FED_STORE_ID, null, fedProps); final Iterable<? extends String> execute = store.execute(new GetAllGraphIds(), blankUser); ======= store.initialise("testFedStore", null, fedProps); final Iterable<? extends String> execute = store.execute(new GetAllGraphIds(...
<<<<<<< assertTrue(!seriesMetadata || keys.contains(AbstractHibernateDatasource.SERIES_METADATA_KEY)); ======= assertTrue(!timeFormat || keys.contains(AbstractHibernateDatasource.TIMEZONE_KEY)); assertTrue(!timeFormat || keys.contains(AbstractHibernateDatasource.TIME_STRING_FORMAT_KEY)); ...
<<<<<<< import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; /** * Created on 25/04/2017. */ ======= >>>>>>> import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail;
<<<<<<< import com.fasterxml.jackson.annotation.JsonTypeInfo; ======= import com.fasterxml.jackson.annotation.JsonPropertyOrder; >>>>>>> import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; <<<<<<< @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonT...
<<<<<<< import uk.gov.gchq.gaffer.operation.impl.export.set.GetSetExport; ======= import uk.gov.gchq.gaffer.operation.impl.function.Aggregate; >>>>>>> import uk.gov.gchq.gaffer.operation.impl.export.set.GetSetExport; import uk.gov.gchq.gaffer.operation.impl.function.Aggregate;
<<<<<<< import uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore; import uk.gov.gchq.gaffer.commonutil.exception.OverwritingException; ======= import uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore; >>>>>>> import uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore; import uk.gov.gchq.g...
<<<<<<< for (final GraphHook graphHook : config.getHooks()) { graphHook.preExecute(operationChain, user); ======= for (final GraphHook graphHook : graphHooks) { graphHook.preExecute(clonedOpChain, user); >>>>>>> for (final GraphHook graphHook : conf...
<<<<<<< import gaffer.accumulostore.AccumuloStore; ======= import java.util.Set; import org.apache.accumulo.core.client.IteratorSetting; import org.apache.accumulo.core.data.Range; import gaffer.accumulostore.AccumuloStore; >>>>>>> import gaffer.accumulostore.AccumuloStore; <<<<<<< import org.apache.accumulo.core...
<<<<<<< public static class IterableObject extends TypeReference<Iterable<? extends java.lang.Object>> { } ======= public static class ListString extends TypeReference<java.util.List<java.lang.String>> { } >>>>>>> public static class IterableObject extends TypeReference<Iterable<? extends java....
<<<<<<< public Iterable<Element> generateElementsFromStrings() { ======= public CloseableIterable<Element> generateElementsFromStrings(final Graph graph) throws OperationException { >>>>>>> public CloseableIterable<Element> generateElementsFromStrings() { <<<<<<< + " .obje...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final String input = "1"; final ToStream toStream = ...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final String input = "1"; final ToEntitySeeds toEnti...
<<<<<<< ======= import gaffer.commonutil.iterable.CloseableIterable; import gaffer.commonutil.iterable.LimitedCloseableIterable; >>>>>>> import gaffer.commonutil.iterable.CloseableIterable; <<<<<<< ======= protected <OUTPUT> CloseableIterable<OUTPUT> executeGet(final Operation<?, CloseableIterable<OUTPUT>> o...
<<<<<<< public Iterable<EntitySeed> getAdjacentEntitySeedsFromVertex2() { ======= public CloseableIterable<EntitySeed> getAdjacentEntitySeedsFromVertex2(final Graph graph) throws OperationException { >>>>>>> public CloseableIterable<EntitySeed> getAdjacentEntitySeedsFromVertex2() { <<<<<<< public It...
<<<<<<< ======= import uk.gov.gchq.gaffer.store.library.GraphLibrary; import java.io.IOException; >>>>>>> import uk.gov.gchq.gaffer.store.library.GraphLibrary;
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final int limit = 3; final Entity input = new Entity...
<<<<<<< @Override public void shouldShallowCloneOperation() { // Given final Element input = new Edge.Builder() .group("testGroup") .build(); final Validate validate = new Validate.Builder() .input(input) .skipInvalidElemen...
<<<<<<< elements.add(DataGen.getEntity("BasicEntity", "vertex", (byte) 'a', 0.2, 3f, TestUtils.getTreeSet1(), 5L, (short) 6, TestUtils.DATE , TestUtils.getFreqMap1(), 1)); final Entity expected = DataGen.getEntity("BasicEntity", "vertex", (byte) 'a', 0.4, 6f, TestUtils.getTreeSet1(), 10L...
<<<<<<< import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds; import uk.gov.gchq.gaffer.operation.impl.get.GetEdges; ======= import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentEntitySeeds; >>>>>>> import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds; <<<<<<< final GetElements getAdj1 = mo...
<<<<<<< import uk.gov.gchq.gaffer.data.element.id.ElementId; ======= import uk.gov.gchq.gaffer.operation.Operation; >>>>>>> import uk.gov.gchq.gaffer.data.element.id.ElementId; import uk.gov.gchq.gaffer.operation.Operation; <<<<<<< import uk.gov.gchq.gaffer.operation.SeededGraphGet; import uk.gov.gchq.gaffer.spark....
<<<<<<< import uk.gov.gchq.gaffer.operation.SeededGraphGet; ======= import uk.gov.gchq.gaffer.operation.data.EdgeSeed; import uk.gov.gchq.gaffer.operation.data.ElementSeed; import uk.gov.gchq.gaffer.operation.data.EntitySeed; >>>>>>> <<<<<<< public <T extends SeededGraphGet<?, ?>> List<Range> getRange(final Ele...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final String input = "1"; final ToList toList = new ...
<<<<<<< ======= import uk.gov.gchq.gaffer.store.operation.handler.CountHandler; import uk.gov.gchq.gaffer.store.operation.handler.DeduplicateHandler; >>>>>>> import uk.gov.gchq.gaffer.store.operation.handler.CountHandler; <<<<<<< ======= addOperationHandler(Deduplicate.class, new DeduplicateHandler()); ...
<<<<<<< import uk.gov.gchq.gaffer.core.exception.GafferRuntimeException; import uk.gov.gchq.gaffer.core.exception.Status; import uk.gov.gchq.gaffer.rest.GraphFactory; ======= >>>>>>> import uk.gov.gchq.gaffer.core.exception.GafferRuntimeException; import uk.gov.gchq.gaffer.core.exception.Status; <<<<<<< ...
<<<<<<< import uk.gov.gchq.gaffer.accumulostore.SingleUseAccumuloStore; import uk.gov.gchq.gaffer.cache.CacheServiceLoader; import uk.gov.gchq.gaffer.commonutil.JsonUtil; ======= >>>>>>> import uk.gov.gchq.gaffer.accumulostore.SingleUseAccumuloStore; import uk.gov.gchq.gaffer.cache.CacheServiceLoader; import uk.gov....
<<<<<<< import uk.gov.gchq.gaffer.data.element.Entity; import uk.gov.gchq.gaffer.data.element.id.ElementId; import uk.gov.gchq.gaffer.data.element.id.EntityId; ======= >>>>>>> import uk.gov.gchq.gaffer.data.element.id.ElementId; import uk.gov.gchq.gaffer.data.element.id.EntityId; <<<<<<< import uk.gov.gchq.gaffer.o...
<<<<<<< protected Set<Class<? extends Operation>> getRemoteSupportedOperations() { try { URL url = getProperties().getGafferUrl("graph/operations"); return (Set) Collections.unmodifiableSet(doGet(url, new TypeReference<Set<Class<Operation>>>() { }, null)); } catch...
<<<<<<< try { super.preInitialise(graphId, schema, getProperties()); } catch (final StoreException e) { // This is due to an invalid table, but the table is about to be deleted to we can ignore it. } TableUtils.dropTable(this); super.preInitialise(graphId...
<<<<<<< import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.gov.gchq.gaffer.commonutil.CloseableUtil; import uk.gov.gchq.gaffer.commonutil.CommonConstants; ======= >>>>>>> <<<<<<< import java.io.BufferedReader; import java.io.IOException; ======= >>>>>>> <<<<<<< import java.io.InputStreamReader; ...
<<<<<<< public Iterable<String> generateStringsFromElements() { ======= public CloseableIterable<String> generateStringsFromElements(final Graph graph) throws OperationException { >>>>>>> public CloseableIterable<String> generateStringsFromElements() { <<<<<<< public Iterable<Object> generateDomainO...
<<<<<<< public Iterable<Edge> getAllEdgesThatAreConnectedToVertex2() { ======= public CloseableIterable<Edge> getAllEdgesThatAreConnectedToVertex2(final Graph graph) throws OperationException { >>>>>>> public CloseableIterable<Edge> getAllEdgesThatAreConnectedToVertex2() { <<<<<<< public Iterable<Ed...
<<<<<<< expected.add(DataGen.getEdge("BasicEdge", x, x + 1, true, (byte) 'b', (0.2 * x) + 0.3, 6f, TestUtils.MERGED_TREESET, (6L * x) + 5L, (short) 13, TestUtils.DATE, TestUtils.MERGED_FREQMAP, 2)); expected.add(DataGen.getEdge("BasicEdge", x, x + 1, false, (byte) 'a', 0.2 * x, 2f, TestUtils.get...
<<<<<<< ======= import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.net.URL; import java.util.Collection; import java.util.HashMap; >>>>>>> import java.lang.reflect.Type; import java.util.HashMap; <<<<<<< return Response.ok(ReflectionUtil.getSubTypes(Predicate.class)) ...
<<<<<<< import static gaffer.store.StoreTrait.AGGREGATION; import static gaffer.store.StoreTrait.FILTERING; import static gaffer.store.StoreTrait.INPUT_VALIDATION; import static gaffer.store.StoreTrait.TRANSFORMATION; import static junit.framework.Assert.assertEquals; import static org.junit.Assert.assertNotNull; impor...
<<<<<<< import static uk.gov.gchq.gaffer.federatedstore.operation.handler.FederatedOperationOutputHandler.NO_RESULTS_TO_MERGE_ERROR; import static uk.gov.gchq.gaffer.graph.GraphDelegate.GRAPH_ID_S_CANNOT_BE_CREATED_WITHOUT_DEFINED_KNOWN_S; import static uk.gov.gchq.gaffer.graph.GraphDelegate.SCHEMA_COULD_NOT_BE_FOUND_I...
<<<<<<< import org.junit.After; import org.junit.Before; ======= import gaffer.user.User; import org.junit.AfterClass; import org.junit.BeforeClass; >>>>>>> import gaffer.user.User; import org.junit.After; import org.junit.Before; <<<<<<< @Test public void shouldRetieveElementsInRangeBetweenSeedsGaffer1Stor...
<<<<<<< ======= import org.apache.commons.lang3.text.WordUtils; >>>>>>>
<<<<<<< ======= import org.apache.accumulo.core.client.IteratorSetting; import org.apache.hadoop.util.bloom.BloomFilter; >>>>>>> <<<<<<< import gaffer.accumulostore.key.exception.IteratorSettingException; ======= import gaffer.accumulostore.key.exception.IteratorSettingException; import gaffer.accumulostore.oper...
<<<<<<< ======= import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeInfo; >>>>>>> import com.fasterxml.jackson.annotation.JsonPropertyOrder;
<<<<<<< import uk.gov.gchq.gaffer.data.element.Edge; import uk.gov.gchq.gaffer.data.element.id.EntityId; ======= >>>>>>> <<<<<<< import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds; import uk.gov.gchq.gaffer.operation.impl.get.GetEdges; ======= import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentEntit...
<<<<<<< final GetElements<ElementId, Element> op = new GetElements<>(); ======= final GetElements op = new GetElements(); >>>>>>> final GetElements op = new GetElements(); <<<<<<< final GetElements<ElementId, Element> op = new GetElements<>(); ======= final GetElements op =...
<<<<<<< import org.hamcrest.core.IsCollectionContaining; import org.junit.After; import org.junit.Before; ======= import gaffer.user.User; import org.junit.AfterClass; import org.junit.BeforeClass; >>>>>>> import org.hamcrest.core.IsCollectionContaining; import org.junit.After; import org.junit.Before; import gaffer...
<<<<<<< * @param elementSeed the element seed to get the range for * @param operation the operation * @param <T> the type of operation * @return A List of Ranges that are required to return all elements that match the parameters of the query. * @throws RangeFactoryException if a range...
<<<<<<< } catch (final Throwable e) { LOGGER.warn("Failed to create table {}", tableName, e); ======= } catch (final Exception e) { LOGGER.warn("Failed to create table " + tableName, e); >>>>>>> } catch (final Exception e) { LOGGER.warn("Failed to create ta...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final String input = "1"; final ToSet toSet = new To...
<<<<<<< import static uk.gov.gchq.gaffer.user.StoreUser.testUser; ======= import static uk.gov.gchq.gaffer.federatedstore.FederatedStoreUser.testUser; import static uk.gov.gchq.gaffer.federatedstore.operation.handler.FederatedOperationOutputHandler.NO_RESULTS_TO_MERGE_ERROR; >>>>>>> import static uk.gov.gchq.gaffer....
<<<<<<< @Override public void shouldShallowCloneOperation() { // Given final GetJobResults getJobResults = new GetJobResults.Builder() .build(); // When final GetJobResults clone = (GetJobResults) getJobResults.shallowClone(); // Then assertNotN...
<<<<<<< import uk.gov.gchq.koryphe.predicate.IsA; ======= import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import uk.gov.gchq.gaffer.function.IsA; >>>>>>> import org.junit.runner.RunWith; import org.mockito.InjectMocks; import or...
<<<<<<< if (name == null) { throw new CacheOperationFailedException("NamedOperation name cannot be null"); } ExtendedNamedOperation existing = getFromCache(name); ======= NamedOperationDetail existing = getFromCache(name); >>>>>>> if (name == null) { th...
<<<<<<< import org.hamcrest.core.IsCollectionContaining; import org.junit.After; ======= import gaffer.user.User; >>>>>>> import org.hamcrest.core.IsCollectionContaining; import org.junit.After; import gaffer.user.User; <<<<<<< final List<Element> elements = new ArrayList<>(); final Entity e = new E...
<<<<<<< ======= import uk.gov.gchq.gaffer.operation.impl.Count; import uk.gov.gchq.gaffer.rest.GraphFactoryForTest; >>>>>>> import uk.gov.gchq.gaffer.operation.impl.Count;
<<<<<<< public Iterable<Entity> getEntitiesByEntitySeed1And2() { ======= public CloseableIterable<Entity> getEntitiesByEntitySeed1And2(final Graph graph) throws OperationException { >>>>>>> public CloseableIterable<Entity> getEntitiesByEntitySeed1And2() { <<<<<<< public Iterable<Entity> getEntitiesB...
<<<<<<< import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds; ======= import uk.gov.gchq.gaffer.operation.impl.export.resultcache.ExportToGafferResultCache; import uk.gov.gchq.gaffer.operation.impl.export.set.ExportToSet; import uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects; import uk.gov.gchq.gaf...
<<<<<<< import uk.gov.gchq.gaffer.data.element.id.EdgeId; import uk.gov.gchq.gaffer.data.element.id.EntityId; ======= import uk.gov.gchq.gaffer.data.elementdefinition.view.View; >>>>>>> import uk.gov.gchq.gaffer.data.element.id.EdgeId; import uk.gov.gchq.gaffer.data.element.id.EntityId; import uk.gov.gchq.gaffer.dat...
<<<<<<< import org.apache.spark.sql.SparkSession; ======= import org.junit.Rule; >>>>>>> import org.apache.spark.sql.SparkSession; import org.junit.Rule;
<<<<<<< try { ((FederatedStore) store).addGraphs(operation.getGraphAuths(), context.getUser().getUserId(), graph); } catch (final StoreException e) { throw new OperationException(e.getMessage()); } ======= ((FederatedStore) store).addGraphs(operation.getGraphAuths()...
<<<<<<< import uk.gov.gchq.gaffer.graph.GraphSerialisable; ======= import uk.gov.gchq.gaffer.operation.OperationException; >>>>>>> import uk.gov.gchq.gaffer.graph.GraphSerialisable; import uk.gov.gchq.gaffer.operation.OperationException; <<<<<<< import uk.gov.gchq.gaffer.store.library.GraphLibrary; ======= import...
<<<<<<< private static final String TEST_GRAPH_ID = "testGraphId"; ======= protected Context context; >>>>>>> private static final String TEST_GRAPH_ID = "testGraphId"; protected Context context;
<<<<<<< import uk.gov.gchq.gaffer.store.library.NoGraphLibrary; ======= import uk.gov.gchq.gaffer.store.operation.GetSchema; >>>>>>> import uk.gov.gchq.gaffer.store.library.NoGraphLibrary; import uk.gov.gchq.gaffer.store.operation.GetSchema;
<<<<<<< assertEquals(Collections.singleton(ENTITY_GROUP), operation.getView().getEntityGroups()); assertEquals(0, operation.getView().getEdgeGroups().size()); final Set<EntityId> seeds = new HashSet<>(); for (final Object seed : ((GetRDDOfElements) operation).getSeeds()) { se...
<<<<<<< ======= public Builder summarise(final boolean summarise) { return (Builder) super.summarise(summarise); } @Override public Builder deduplicate(final boolean deduplicate) { return (Builder) super.deduplicate(deduplicate); } @Override >...
<<<<<<< result.addError(name + " is required for: " + this.getClass().getSimpleName()); ======= result.addError(field.getName() + " is required"); >>>>>>> result.addError(field.getName() + " is required for: " + this.getClass().getSimpleName());...
<<<<<<< import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; ======= >>>>>>> import static org.junit.Assert.assertEquals; <<<<<<< @Override public void shouldShallowCloneOperation() { // Given final Entity input = new Entity(TestGroups.ENTITY); ...
<<<<<<< final int expectedNumberOfOperations = 35; ======= >>>>>>>
<<<<<<< import uk.gov.gchq.gaffer.operation.graph.GraphFilters; ======= import uk.gov.gchq.gaffer.operation.impl.SplitStore; >>>>>>> import uk.gov.gchq.gaffer.operation.graph.GraphFilters; import uk.gov.gchq.gaffer.operation.impl.SplitStore;
<<<<<<< import uk.gov.gchq.gaffer.store.operation.handler.GetWalksHandler; ======= import uk.gov.gchq.gaffer.store.operation.handler.GetSchemaHandler; >>>>>>> import uk.gov.gchq.gaffer.store.operation.handler.GetSchemaHandler; import uk.gov.gchq.gaffer.store.operation.handler.GetWalksHandler;
<<<<<<< ACCUMULO_PROPERTIES.setId(ACC_PROP); ACCUMULO_PROPERTIES.setStoreClass(MockAccumuloStore.class); ACCUMULO_PROPERTIES.setStorePropertiesClass(AccumuloProperties.class); ======= HashMapGraphLibrary.clear(); accProps = new AccumuloProperties(); accProps.setId(ACC_P...
<<<<<<< import uk.gov.gchq.gaffer.operation.Validatable; import uk.gov.gchq.gaffer.data.element.id.ElementId; import uk.gov.gchq.gaffer.data.element.id.EntityId; ======= >>>>>>> <<<<<<< import uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds; import uk.gov.gchq.gaffer.operation.impl.get.GetAllEdges; ======= i...
<<<<<<< import gaffer.store.operation.handler.CountGroupsHandler; import gaffer.store.operation.handler.FetchCacheHandler; import gaffer.store.operation.handler.FetchCachedResultHandler; import gaffer.store.operation.handler.GenerateElementsHandler; import gaffer.store.operation.handler.GenerateObjectsHandler; =======...
<<<<<<< @Override public void shouldShallowCloneOperation() { // Given final GetSetExport getSetExport = new GetSetExport.Builder() .key("key1") .build(); final GetExports getExports = new GetExports.Builder() .exports(getSetExport) ...
<<<<<<< public void addGraphs(final Set<String> graphAuths, final String addingUserId, final Graph... graphs) throws StoreException { if (federatedStoreCache.getCache() == null) { throw new StoreException("No cache has been set, please initialise the FederatedStore instance"); } ...
<<<<<<< import gaffer.store.schema.Schema; import org.apache.accumulo.core.client.AccumuloException; ======= import gaffer.store.schema.StoreSchema; >>>>>>> import gaffer.store.schema.Schema;
<<<<<<< View opView = operation.getView(); List<TupleAdaptedPredicate<String, ?>> entityPostAggFilters = opView ======= View opView = ((GraphFilters) operation).getView(); List<ConsumerFunctionContext<String, FilterFunction>> entityPostAggFilters = opView >>>>>>> View opView =...
<<<<<<< * @param group The {@link Element} type to be queried * @param timestamp the element timestamp property * @return The Properties stored within the Timestamp part of the {@link Key} * @throws AccumuloElementConversionException If the supplied group has not been defined ======= * @p...
<<<<<<< ======= import uk.gov.gchq.gaffer.core.exception.ErrorFactory; >>>>>>>