1 /***********************************************************************
2  * Copyright (c) 2013-2025 General Atomics Integrated Intelligence, Inc.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Apache License, Version 2.0
5  * which accompanies this distribution and is available at
6  * https://www.apache.org/licenses/LICENSE-2.0
7  ***********************************************************************/
8 
9 package org.locationtech.geomesa.redis.tools.schema
10 
11 import com.beust.jcommander.Parameters
12 import org.locationtech.geomesa.redis.data.RedisDataStore
13 import org.locationtech.geomesa.redis.tools.RedisDataStoreCommand
14 import org.locationtech.geomesa.redis.tools.RedisDataStoreCommand.RedisDataStoreParams
15 import org.locationtech.geomesa.redis.tools.schema.RedisCreateSchemaCommand.RedisCreateSchemaParams
16 import org.locationtech.geomesa.tools.data.CreateSchemaCommand
17 import org.locationtech.geomesa.tools.data.CreateSchemaCommand.CreateSchemaParams
18 
19 class RedisCreateSchemaCommand extends CreateSchemaCommand[RedisDataStore] with RedisDataStoreCommand {
20   override val params = new RedisCreateSchemaParams()
21 }
22 
23 object RedisCreateSchemaCommand {
24   @Parameters(commandDescription = "Create a GeoMesa feature type")
25   class RedisCreateSchemaParams extends CreateSchemaParams with RedisDataStoreParams
26 }
Line Stmt Id Pos Tree Symbol Tests Code
20 99915 1145 - 1174 Apply org.locationtech.geomesa.redis.tools.schema.RedisCreateSchemaCommand.RedisCreateSchemaParams.<init> new org.locationtech.geomesa.redis.tools.schema.RedisCreateSchemaCommand.RedisCreateSchemaParams()