# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Enums
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  com.streambase.liveview.client.alert.IExecJavaAction

- Deprecated Enums
  Enum and Description
  com.streambase.sb.Constants.LeadershipStatus Legacy high-availability service, migrate to SB 10 high-availability service.

- Deprecated Methods
  Method and Description
  com.streambase.liveview.client.alert.IExecJavaAction.action(AlertRule, AlertRule.Actions.Action, TupleAddedEvent) Use ExecJavaActionClass
  com.streambase.sb.client.StreamBaseAdminClient.addDeploy(byte[], String...) Replaced with application fragments and HOCON configuration
  com.streambase.sb.client.StreamBaseAdminClient.addDeploy(File, String...) Replaced with application fragments and HOCON configuration
  com.streambase.sb.client.StreamBaseAdminClient.addDeploy(String, String...) Replaced with application fragments and HOCON configuration
  com.streambase.sb.DataType.allTypes() use DataType.values()
  com.streambase.sb.Schema.Field.checkType(DataType) Use `Schema.Field.checkType(CompleteDataType)`
  com.streambase.liveview.client.alert.AlertManager.deleteAlertRule(Long) : Use `AlertManager.deleteAlertRule(String)` instead.
  com.streambase.sb.client.StreamBaseClient.flushBuffer(StreamProperties) use `StreamBaseClient.flushAllBuffers()` to preserve inter-stream ordering
  com.streambase.sb.client.StreamBaseClient.flushBuffer(String) use `StreamBaseClient.flushAllBuffers()` to preserve inter-stream ordering
  com.streambase.sb.CompleteDataType.forBool()
  com.streambase.liveview.client.alert.AlertManager.getAlertRule(long) : Use `AlertManager.getAlertRule(String)` instead.
  com.streambase.sb.unittest.TimeServiceFactory.getControllableTimeService() Use `ControllableTimeService` to obtain a TimeService
  com.streambase.sb.Tuple.getFields() use `Tuple.toMapView()`
  com.streambase.sb.monitor.OperatorInfo.getInputPortCount()
  com.streambase.sb.monitor.OperatorInfo.getInputTuplesDequeuedDelta()
  com.streambase.sb.monitor.OperatorInfo.getInputTuplesDequeuedTotal()
  com.streambase.sb.monitor.OperatorInfo.getInputTuplesEnqueuedTotal() use `OperatorInfo.getTotalInputTuplesEnqueued()` instead
  com.streambase.liveview.client.AbstractTupleEvent.getKey() since 1.6, use `AbstractTupleEvent.getKeyValue()` instead; certain table types and queries have undefined return values
  com.streambase.sb.client.DequeueResult.getLeadershipStatus() Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.sb.client.StreamBaseAdminClient.getLeadershipStatus() Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.sb.operator.Operator.RuntimeEnvironment.getLeadershipStatus() Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.sb.client.Admin.getLeadershipStatus(long) Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.getMaskDisplay() use `SBPropertyDescriptor.getUIHints()` instead
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.getMultiLine() use `SBPropertyDescriptor.getUIHints()` instead
  com.streambase.sb.monitor.OperatorInfo.getOutputPortCount()
  com.streambase.sb.monitor.OperatorInfo.getOutputTuplesEnqueuedTotal() use `OperatorInfo.getTotalOutputTuplesEnqueued()` instead
  com.streambase.sb.monitor.SystemInfo.getProcessSize() As of StreamBase 3.0, use getTotalMemory(), which returns a size in bytes.
  com.streambase.sb.monitor.OperatorInfo.getProfilerHits() Replaced by getProfilerMS(). The number of minitics is not actually returned. It's actually the number of milliseconds used by the operator
  com.streambase.liveview.client.dynamictables.TableConfig.getTableDeleteRule() The tableDeleteRule specifies a condition when the rows present in this table are to be deleted.
  com.streambase.sb.monitor.OperatorInfo.getTotalProfilerHits() Replaced by getTotalProfilerMS(). The number of minitics is not actually returned. It's actually the total number of milliseconds used
  com.streambase.sb.unittest.TimeServiceFactory.getWallClockTimeService() Use `WallClockTimeService` to obtain a TimeService
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.mask() use `SBPropertyDescriptor.setUIHints(UIHints)` instead
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.multiline(int) use `SBPropertyDescriptor.setUIHints(UIHints)` instead
  com.streambase.sb.operator.Operator.registerRunnable(Runnable) As of StreamBase version 3.7, replaced by `Operator.registerRunnable(Runnable, boolean)`
  com.streambase.sb.client.StreamBaseAdminClient.setLeadershipStatus(Constants.LeadershipStatus) Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.sb.client.Admin.setLeadershipStatus(long, Constants.LeadershipStatus) Legacy high-availability service, migrate to SB 10 high-availability service.
  com.streambase.liveview.client.QueryConfig.setLimit(int) 1.4 use `QueryConfig.setMaxResultSetSize(int)` instead
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.setMaskStringDisplay(boolean) use `SBPropertyDescriptor.setUIHints(UIHints)` instead
  com.streambase.sb.operator.parameter.SBPropertyDescriptor.setMultiLine(int) use `SBPropertyDescriptor.setUIHints(UIHints)` instead
  com.streambase.liveview.client.dynamictables.TableConfig.setTableDeleteRule(String)
  com.streambase.sb.Schema.toSsqlStyleString()
  com.streambase.sb.Schema.toStringWithFields()

- Deprecated Constructors
  Constructor and Description
  com.streambase.sb.Schema.Field(String, DataType) Use `Schema.createField(DataType, String)` instead
  com.streambase.sb.Schema.Field(String, DataType, Schema) Use `Schema.Field#Field(String, CompleteDataType)` instead with new Schema(name, CompleteDataType.forTuple(s)), or `Schema.createTupleField(String, Schema)`
  com.streambase.liveview.client.TupleAddedEvent(Object, Long, Tuple)
  com.streambase.liveview.client.TupleRemovedEvent(Object, Long, Tuple)
  com.streambase.liveview.client.TupleUpdatedEvent(Object, Long, Tuple, Tuple, List<Schema.Field>)

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.