2022-05-03 19:38:05 -05:00
|
|
|
package mock;
|
|
|
|
|
|
|
|
import com.linkedin.data.schema.RecordDataSchema;
|
|
|
|
import com.linkedin.data.template.RecordTemplate;
|
|
|
|
import com.linkedin.metadata.models.AspectSpec;
|
|
|
|
import com.linkedin.metadata.models.RelationshipFieldSpec;
|
|
|
|
import com.linkedin.metadata.models.SearchScoreFieldSpec;
|
|
|
|
import com.linkedin.metadata.models.SearchableFieldSpec;
|
2024-04-16 04:49:21 +05:30
|
|
|
import com.linkedin.metadata.models.SearchableRefFieldSpec;
|
2022-05-03 19:38:05 -05:00
|
|
|
import com.linkedin.metadata.models.TimeseriesFieldCollectionSpec;
|
|
|
|
import com.linkedin.metadata.models.TimeseriesFieldSpec;
|
|
|
|
import com.linkedin.metadata.models.annotation.AspectAnnotation;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
|
|
|
|
public class MockAspectSpec extends AspectSpec {
|
2023-12-06 11:02:42 +05:30
|
|
|
public MockAspectSpec(
|
|
|
|
@Nonnull AspectAnnotation aspectAnnotation,
|
2022-05-03 19:38:05 -05:00
|
|
|
@Nonnull List<SearchableFieldSpec> searchableFieldSpecs,
|
|
|
|
@Nonnull List<SearchScoreFieldSpec> searchScoreFieldSpecs,
|
|
|
|
@Nonnull List<RelationshipFieldSpec> relationshipFieldSpecs,
|
|
|
|
@Nonnull List<TimeseriesFieldSpec> timeseriesFieldSpecs,
|
2023-12-06 11:02:42 +05:30
|
|
|
@Nonnull List<TimeseriesFieldCollectionSpec> timeseriesFieldCollectionSpecs,
|
2024-04-16 04:49:21 +05:30
|
|
|
@Nonnull final List<SearchableRefFieldSpec> searchableRefFieldSpecs,
|
2023-12-06 11:02:42 +05:30
|
|
|
RecordDataSchema schema,
|
2022-05-03 19:38:05 -05:00
|
|
|
Class<RecordTemplate> aspectClass) {
|
2023-12-06 11:02:42 +05:30
|
|
|
super(
|
|
|
|
aspectAnnotation,
|
|
|
|
searchableFieldSpecs,
|
|
|
|
searchScoreFieldSpecs,
|
|
|
|
relationshipFieldSpecs,
|
|
|
|
timeseriesFieldSpecs,
|
|
|
|
timeseriesFieldCollectionSpecs,
|
2024-04-16 04:49:21 +05:30
|
|
|
searchableRefFieldSpecs,
|
2023-12-06 11:02:42 +05:30
|
|
|
schema,
|
|
|
|
aspectClass);
|
2022-05-03 19:38:05 -05:00
|
|
|
}
|
|
|
|
}
|