class IndexViewExample.ExecutorParser extends Object
Modifier and Type | Field and Description |
---|---|
(package private) String |
dataFileDir |
(package private) Map<String,String> |
fieldMap
A map used to store field arguments for inserting and updating
primary DB records.
|
(package private) static String |
HOST_FLAG
Flag strings
|
(package private) String |
hostname |
(package private) List<String> |
indexFieldNames |
(package private) List<Object> |
indexFieldValues |
(package private) static String |
PORT_FLAG |
(package private) String |
primaryKey |
(package private) int |
registryPort |
(package private) Boolean |
secIndexUsed
A flag used by update and delete operations.
|
(package private) static String |
STORE_FLAG |
(package private) String |
storeName |
Constructor and Description |
---|
IndexViewExample.ExecutorParser(String[] args) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
checkArg(String arg)
Used to extend the base arguments to additional ones.
|
(package private) String |
getHostname() |
(package private) String |
getHostUsage() |
(package private) String |
getPortUsage() |
(package private) int |
getRegistryPort() |
(package private) String |
getStoreName() |
(package private) String |
getStoreUsage() |
(package private) String |
optional(String msg)
Methods for implementing classes.
|
(package private) void |
parseArgs() |
(package private) void |
setDefaults(String storeName,
String hostname,
int registryPort) |
(package private) void |
usage(String errorMsg) |
(package private) void |
verifyArgs()
Called after parsing all args.
|
static final String HOST_FLAG
static final String STORE_FLAG
static final String PORT_FLAG
String hostname
String storeName
int registryPort
String dataFileDir
String primaryKey
Map<String,String> fieldMap
Boolean secIndexUsed
IndexViewExample.ExecutorParser(String[] args)
boolean checkArg(String arg)
void verifyArgs()
void usage(String errorMsg)
String getHostname()
String getStoreName()
int getRegistryPort()
void parseArgs()
String getHostUsage()
String getStoreUsage()
String getPortUsage()
Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.