You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.*/packageorg.apache.wayang.api.serialization.mixinsimportcom.fasterxml.jackson.annotation.{JsonIdentityInfo, JsonIgnore, JsonSubTypes, JsonTypeInfo, ObjectIdGenerators}
importorg.apache.logging.log4j.Loggerimportorg.apache.wayang.api.{MultiContext, DataQuanta, PlanBuilder}
importorg.apache.wayang.core.api.configuration.{CollectionProvider, ExplicitCollectionProvider, KeyValueProvider, MapBasedKeyValueProvider, ValueProvider}
importorg.apache.wayang.core.function.FunctionDescriptorimportorg.apache.wayang.core.mapping.Mappingimportorg.apache.wayang.core.optimizer.ProbabilisticDoubleIntervalimportorg.apache.wayang.core.optimizer.cardinality.CardinalityEstimatorimportorg.apache.wayang.core.optimizer.channels.ChannelConversionimportorg.apache.wayang.core.optimizer.costs.{LoadProfileEstimator, LoadProfileToTimeConverter, TimeToCostConverter}
importorg.apache.wayang.core.optimizer.enumeration.PlanEnumerationPruningStrategyimportorg.apache.wayang.core.plan.wayangplan.{ExecutionOperator, OutputSlot}
importorg.apache.wayang.core.platform.Platformimportorg.apache.wayang.core.profiling.{CardinalityRepository, InstrumentationStrategy}
importjava.util.function.ToDoubleFunctionobjectConfigurationAndContextMixIns {
@JsonTypeInfo(use =JsonTypeInfo.Id.NAME, include =JsonTypeInfo.As.PROPERTY, property ="@type")
@JsonSubTypes(Array(
newJsonSubTypes.Type(value =classOf[MultiContext], name ="MultiContext"),
))
abstractclassWayangContextMixIn {
@JsonIgnoreprivatevarlogger:Logger= _
// TODO: Is this okay?@JsonIgnoreprivatevarcardinalityRepository:CardinalityRepository= _
}
@JsonIdentityInfo(generator =classOf[ObjectIdGenerators.IntSequenceGenerator], property ="@id")
abstractclassConfigurationMixIn {
@JsonIgnoreprivatevarcardinalityEstimatorProvider:KeyValueProvider[OutputSlot[_], CardinalityEstimator] = _
@JsonIgnoreprivatevarudfSelectivityProvider:KeyValueProvider[FunctionDescriptor, ProbabilisticDoubleInterval] = _
@JsonIgnoreprivatevaroperatorLoadProfileEstimatorProvider:KeyValueProvider[ExecutionOperator, LoadProfileEstimator] = _
@JsonIgnoreprivatevarfunctionLoadProfileEstimatorProvider:KeyValueProvider[FunctionDescriptor, LoadProfileEstimator] = _
@JsonIgnoreprivatevarloadProfileEstimatorCache:MapBasedKeyValueProvider[String, LoadProfileEstimator] = _
@JsonIgnoreprivatevarloadProfileToTimeConverterProvider:KeyValueProvider[Platform, LoadProfileToTimeConverter] = _
@JsonIgnoreprivatevartimeToCostConverterProvider:KeyValueProvider[Platform, TimeToCostConverter] = _
@JsonIgnoreprivatevarcostSquasherProvider:ValueProvider[ToDoubleFunction[ProbabilisticDoubleInterval]] = _
@JsonIgnoreprivatevarplatformStartUpTimeProvider:KeyValueProvider[Platform, Long] = _
@JsonIgnoreprivatevarplatformProvider:ExplicitCollectionProvider[Platform] = _
@JsonIgnoreprivatevarmappingProvider:ExplicitCollectionProvider[Mapping] = _
@JsonIgnoreprivatevarchannelConversionProvider:ExplicitCollectionProvider[ChannelConversion] = _
@JsonIgnoreprivatevarpruningStrategyClassProvider:CollectionProvider[Class[PlanEnumerationPruningStrategy]] = _
@JsonIgnoreprivatevarinstrumentationStrategyProvider:ValueProvider[InstrumentationStrategy] = _
}
@JsonTypeInfo(use =JsonTypeInfo.Id.NAME, include =JsonTypeInfo.As.PROPERTY, property ="@type")
@JsonSubTypes(Array(
newJsonSubTypes.Type(value =classOf[MultiContext.TextFileSink], name ="MultiContextTextFileSink"),
newJsonSubTypes.Type(value =classOf[MultiContext.ObjectFileSink], name ="MultiContextObjectFileSink"
))
)
abstractclassMultiContextUnarySinkMixIn {
}
abstractclassMultiContextPlanBuilderMixIn {
@JsonIgnoreprivatevarmultiContextMap:Map[Long, MultiContext] = _
@JsonIgnoreprivatevardataQuantaMap:Map[Long, DataQuanta[_]] = _
@JsonIgnoreprivatevarplanBuilderMap:Map[Long, PlanBuilder] = _
}
}
8c394c3897ae5c3ad078f4e5a16ff09e486f0b4c
The text was updated successfully, but these errors were encountered:
Is this okay?
incubator-wayang/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/serialization/mixins/ConfigurationAndContextMixIns.scala
Line 49 in 11682e6
8c394c3897ae5c3ad078f4e5a16ff09e486f0b4c
The text was updated successfully, but these errors were encountered: