Package io.datarouter.client.hbase.web
Class HBaseHandler
java.lang.Object
io.datarouter.web.handler.BaseHandler
io.datarouter.client.hbase.web.HBaseHandler
public class HBaseHandler
extends io.datarouter.web.handler.BaseHandler
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HBaseHandler() -
Method Summary
Modifier and Type Method Description io.datarouter.web.handler.mav.MavcompactAllHBaseTableRegions()io.datarouter.web.handler.mav.MavcompactHBaseTableRegions()io.datarouter.web.handler.mav.MavflushAllHBaseTableRegions()io.datarouter.web.handler.mav.MavflushHBaseTableRegions()protected java.lang.Class<? extends io.datarouter.storage.client.ClientType<?,?>>getClientType()io.datarouter.web.handler.mav.MavmajorCompactAllHBaseTableRegions()io.datarouter.web.handler.mav.MavmajorCompactHBaseTableRegions()io.datarouter.web.handler.mav.MavmoveHBaseTableRegions(java.lang.String tableName, java.lang.String destinationServerName)io.datarouter.web.handler.mav.MavmoveRegionsToCorrectServer(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs)io.datarouter.web.handler.mav.MavsplitPartitions()io.datarouter.web.handler.mav.MavupdateHBaseColumnAttribute(java.lang.String columnName)io.datarouter.web.handler.mav.MavupdateHBaseTableAttribute(io.datarouter.web.handler.types.optional.OptionalLong maxFileSizeMb, io.datarouter.web.handler.types.optional.OptionalLong memstoreFlushSizeMb)io.datarouter.web.handler.mav.MavviewHBaseServers()io.datarouter.web.handler.mav.MavviewHBaseTableRegions(io.datarouter.web.handler.types.optional.OptionalString groupBy)io.datarouter.web.handler.mav.MavviewHBaseTableSettings()Methods inherited from class io.datarouter.web.handler.BaseHandler
getDefaultMultipartCharset, getLastPathSegment, getParamValidator, getParamValidator, getRequest, getSessionInfo, handleMissingParameters, handleWrapper, invokeHandlerMethod, postProcess, setApiKeyPredicateName, setDefaultHandlerDecoder, setDefaultHandlerEncoder, setParams, setRequest, setResponse, setServletContext
-
Constructor Details
-
HBaseHandler
public HBaseHandler()
-
-
Method Details
-
getClientType
protected java.lang.Class<? extends io.datarouter.storage.client.ClientType<?,?>> getClientType() -
viewHBaseServers
public io.datarouter.web.handler.mav.Mav viewHBaseServers() throws java.io.IOException- Throws:
java.io.IOException
-
viewHBaseTableSettings
public io.datarouter.web.handler.mav.Mav viewHBaseTableSettings() throws org.apache.hadoop.hbase.TableNotFoundException, java.io.IOException- Throws:
org.apache.hadoop.hbase.TableNotFoundExceptionjava.io.IOException
-
viewHBaseTableRegions
public io.datarouter.web.handler.mav.Mav viewHBaseTableRegions(io.datarouter.web.handler.types.optional.OptionalString groupBy) -
updateHBaseTableAttribute
public io.datarouter.web.handler.mav.Mav updateHBaseTableAttribute(io.datarouter.web.handler.types.optional.OptionalLong maxFileSizeMb, io.datarouter.web.handler.types.optional.OptionalLong memstoreFlushSizeMb) throws java.io.IOException- Throws:
java.io.IOException
-
updateHBaseColumnAttribute
public io.datarouter.web.handler.mav.Mav updateHBaseColumnAttribute(java.lang.String columnName) throws org.apache.hadoop.hbase.TableNotFoundException, java.io.IOException- Throws:
org.apache.hadoop.hbase.TableNotFoundExceptionjava.io.IOException
-
moveRegionsToCorrectServer
public io.datarouter.web.handler.mav.Mav moveRegionsToCorrectServer(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs) throws java.io.IOException- Throws:
java.io.IOException
-
moveHBaseTableRegions
public io.datarouter.web.handler.mav.Mav moveHBaseTableRegions(java.lang.String tableName, java.lang.String destinationServerName) throws java.io.IOException- Throws:
java.io.IOException
-
compactHBaseTableRegions
public io.datarouter.web.handler.mav.Mav compactHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
compactAllHBaseTableRegions
public io.datarouter.web.handler.mav.Mav compactAllHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
majorCompactHBaseTableRegions
public io.datarouter.web.handler.mav.Mav majorCompactHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
majorCompactAllHBaseTableRegions
public io.datarouter.web.handler.mav.Mav majorCompactAllHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
flushHBaseTableRegions
public io.datarouter.web.handler.mav.Mav flushHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
flushAllHBaseTableRegions
public io.datarouter.web.handler.mav.Mav flushAllHBaseTableRegions() throws java.io.IOException- Throws:
java.io.IOException
-
splitPartitions
public io.datarouter.web.handler.mav.Mav splitPartitions() throws java.lang.Exception- Throws:
java.lang.Exception
-