Class MatchUpdateEntity
- java.lang.Object
-
- com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
-
- com.sportradar.livedata.sdk.feed.livescout.entities.MatchUpdateEntity
-
- All Implemented Interfaces:
Serializable
public class MatchUpdateEntity extends LiveScoutEntityBase implements Serializable
Match information message. Contains statistical information about a match as well as individual events (e.g. goals, cards, etc.).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MatchUpdateEntity()
Initializes a new instance of theMatchUpdateEntity
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HomeAway<Integer>
getAttacks()
Gets attacks statistics.BehindsEntity
getBehinds()
Returns the behinds entityHomeAway<Integer>
getBlackCards()
Gets black cards (badminton).IdNameTuple
getCategory()
Gets sport category.HomeAway<Integer>
getCorners()
Gets corner statistics.CourtEntity
getCourt()
Gets type of court.HomeAway<Integer>
getDangerousAttacks()
Gets dangerous attack statistics.HomeAway<Integer>
getDirectFoulsPeriod()
Gets direct fouls for current period statistics (futsal).HomeAway<Integer>
getDirectFreeKicks()
Gets direct free kicks statistics (futsal).EventIdentifier
getEventId()
Gets the unique event id.List<ScoutEventEntity>
getEvents()
Gets list of scout events.HomeAway<Integer>
getFouls()
Fouls count per team.HomeAway<Integer>
getFreeKicks()
Gets free kick statistics.HomeAway<Integer>
getFreeThrows()
Gets free throws statistics.HomeAway<Integer>
getGoalkeeperSaves()
Gets goalkeeper saves statistics.HomeAway<Integer>
getGoalKicks()
Gets goal kick statistics.GoalsEntity
getGoals()
Returns the goals entityGoldEntity
getGold()
IceConditions
getIceConditions()
Ice conditonsHomeAway<Integer>
getInjuries()
Gets injuries statistics.List<InningsEntity>
getInnings()
Returns aList
of innings for the current matchList<JerseyEntity>
getJerseys()
Returns a list of known jerseysTeam
getKickoffTeam()
Gets kickoff teamTeam
getKickoffTeamFirstHalf()
Gets first half kickoff teamTeam
getKickoffTeamOt()
Gets overtime kickoff teamTeam
getKickoffTeamSecondHalf()
Gets second half kickoff teamList<FormatEntity>
getMatchFormat()
Gets match formatMatchHeaderEntity
getMatchHeader()
Basic match information.List<MatchPropertyEntity>
getMatchProperties()
Returns the list of match propertiesScoutMatchStatus
getMatchStatus()
Current match status.int
getMatchStatusId()
Current match status identifierorg.joda.time.DateTime
getMatchStatusStart()
Timestamp for when match status was set in UTC.List<MatchTeamEntity>
getMatchTeams()
Returns the list of match teamsNetWorthEntity
getNetWorth()
Returns anNetWorthEntity
describing the associated event net-worthHomeAway<Integer>
getOffsides()
Offside statistics.Team
getOpeningFaceoff1StPeriod()
Opening faceoff 1st periodTeam
getOpeningFaceoff2NdPeriod()
Opening faceoff 2nd periodTeam
getOpeningFaceoff3RdPeriod()
Opening faceoff 3rd periodTeam
getOpeningFaceoffOvertime()
Opening faceoff overtimeHomeAway<Integer>
getPenalties()
Penalties statistics.PitchConditions
getPitchConditions()
Pitch / grass conditions.HomeAway<Integer>
getPossession()
Ball possession statistics.Team
getPossessionTeam()
Which team currently has possession of the ball.HomeAway<Integer>
getRedCards()
Red card statistics.Map<String,HomeAway<Double>>
getScore()
Deprecated.since 1.15.0, use List <ScoreEntity > getScores() instead.List<ScoreEntity>
getScores()
Gets the match scoresScoutEntity
getScout()
Gets scout entityTeam
getServe()
Which player/team currently has the serve (tennis, volleyball).HomeAway<Integer>
getShotsBlocked()
Shots blocked statistics.HomeAway<Integer>
getShotsOffTarget()
Shots off target statistics.HomeAway<Integer>
getShotsOnTarget()
Shots on target statistics.IdNameTuple
getSport()
Type of sport.List<SubteamEntity>
getSubteams()
Returns the subteam.SurfaceType
getSurfaceType()
Surface type (tennis).SuspensionsEntity
getSuspensions()
Suspensions statistics.HomeAway<Integer>
getThrowins()
Throw-in statistics.IdNameTuple
getTournament()
Sport tournament.Map<ScoutMatchStatus,HomeAway<Integer>>
getTryCounts()
Count the instances of try (1154) event per match phase.WeatherConditions
getWeatherConditions()
Weather conditions.HomeAway<Integer>
getYellowCards()
Yellow cards statistics.Boolean
isTieBreak()
Whether the match is currently in tie break status (tennis).
-
-
-
Constructor Detail
-
MatchUpdateEntity
protected MatchUpdateEntity()
Initializes a new instance of theMatchUpdateEntity
class.
-
-
Method Detail
-
getAttacks
public HomeAway<Integer> getAttacks()
Gets attacks statistics.- Returns:
- number of attacks
-
getBlackCards
public HomeAway<Integer> getBlackCards()
Gets black cards (badminton).- Returns:
- number of black cards
-
getCategory
public IdNameTuple getCategory()
Gets sport category.- Returns:
- category
-
getScout
public ScoutEntity getScout()
Gets scout entity- Returns:
- scout entity
-
getCourt
public CourtEntity getCourt()
Gets type of court.- Returns:
- court type
-
getDangerousAttacks
public HomeAway<Integer> getDangerousAttacks()
Gets dangerous attack statistics.- Returns:
- number of dangerous attacks
-
getDirectFoulsPeriod
public HomeAway<Integer> getDirectFoulsPeriod()
Gets direct fouls for current period statistics (futsal).- Returns:
- number of direct fouls for current period
-
getDirectFreeKicks
public HomeAway<Integer> getDirectFreeKicks()
Gets direct free kicks statistics (futsal).- Returns:
- number of direct free kicks
-
getEventId
public EventIdentifier getEventId()
Gets the unique event id.- Overrides:
getEventId
in classLiveScoutEntityBase
- Returns:
- - an event id or null
-
getEvents
public List<ScoutEventEntity> getEvents()
Gets list of scout events.- Returns:
- list of scout events
-
getFreeKicks
public HomeAway<Integer> getFreeKicks()
Gets free kick statistics.- Returns:
- number of free kicks
-
getFreeThrows
public HomeAway<Integer> getFreeThrows()
Gets free throws statistics.- Returns:
- number of free throws
-
getGoalKicks
public HomeAway<Integer> getGoalKicks()
Gets goal kick statistics.- Returns:
- number of kick on goal
-
getGoalkeeperSaves
public HomeAway<Integer> getGoalkeeperSaves()
Gets goalkeeper saves statistics.- Returns:
- number of goalkeeper saves
-
getIceConditions
public IceConditions getIceConditions()
Ice conditons- Returns:
- ice conditons
-
getInjuries
public HomeAway<Integer> getInjuries()
Gets injuries statistics.- Returns:
- number of injuries
-
getInnings
public List<InningsEntity> getInnings()
Returns aList
of innings for the current match- Returns:
- - a
List
of innings for the current match
-
getKickoffTeam
public Team getKickoffTeam()
Gets kickoff team- Returns:
- kickoff team
-
getKickoffTeamFirstHalf
public Team getKickoffTeamFirstHalf()
Gets first half kickoff team- Returns:
- first half kickoff team
-
getKickoffTeamOt
public Team getKickoffTeamOt()
Gets overtime kickoff team- Returns:
- overtime kickoff team
-
getKickoffTeamSecondHalf
public Team getKickoffTeamSecondHalf()
Gets second half kickoff team- Returns:
- second half kickoff team
-
getMatchFormat
public List<FormatEntity> getMatchFormat()
Gets match format- Returns:
- match format
-
getMatchHeader
public MatchHeaderEntity getMatchHeader()
Basic match information.- Returns:
- match header
-
getMatchStatusId
public int getMatchStatusId()
Current match status identifier- Returns:
- the match status identifier
-
getMatchStatus
public ScoutMatchStatus getMatchStatus()
Current match status. Same status codes as in LiveScore.- Returns:
- match status
-
getMatchStatusStart
public org.joda.time.DateTime getMatchStatusStart()
Timestamp for when match status was set in UTC.- Returns:
- match status start timestamp
-
getOpeningFaceoff1StPeriod
public Team getOpeningFaceoff1StPeriod()
Opening faceoff 1st period- Returns:
- opening faceoff 1st period
-
getOpeningFaceoff2NdPeriod
public Team getOpeningFaceoff2NdPeriod()
Opening faceoff 2nd period- Returns:
- opening faceoff 2nd period
-
getOpeningFaceoff3RdPeriod
public Team getOpeningFaceoff3RdPeriod()
Opening faceoff 3rd period- Returns:
- opening faceoff 3rd period
-
getOpeningFaceoffOvertime
public Team getOpeningFaceoffOvertime()
Opening faceoff overtime- Returns:
- opening faceoff overtime
-
getPenalties
public HomeAway<Integer> getPenalties()
Penalties statistics.- Returns:
- number of penalties
-
getPitchConditions
public PitchConditions getPitchConditions()
Pitch / grass conditions.- Returns:
- pitch conditions
-
getPossession
public HomeAway<Integer> getPossession()
Ball possession statistics.- Returns:
- ball possession
-
getPossessionTeam
public Team getPossessionTeam()
Which team currently has possession of the ball.- Returns:
- possession team
-
getRedCards
public HomeAway<Integer> getRedCards()
Red card statistics.- Returns:
- number of red cards
-
getScore
public Map<String,HomeAway<Double>> getScore()
Deprecated.since 1.15.0, use List <ScoreEntity > getScores() instead. It may contain SubScores - i.e. for tennis tie breaks.getScores()
Match score information.- Returns:
- scores
-
getScores
public List<ScoreEntity> getScores()
Gets the match scores- Returns:
- the match scores
-
getServe
public Team getServe()
Which player/team currently has the serve (tennis, volleyball).- Returns:
- serving team
-
getShotsBlocked
public HomeAway<Integer> getShotsBlocked()
Shots blocked statistics.- Returns:
- number of blocked shots
-
getShotsOffTarget
public HomeAway<Integer> getShotsOffTarget()
Shots off target statistics.- Returns:
- number of shots off target
-
getShotsOnTarget
public HomeAway<Integer> getShotsOnTarget()
Shots on target statistics.- Returns:
- number of shots on target
-
getSport
public IdNameTuple getSport()
Type of sport.- Returns:
- sport type
-
getSurfaceType
public SurfaceType getSurfaceType()
Surface type (tennis).- Returns:
- surface type
-
getSuspensions
public SuspensionsEntity getSuspensions()
Suspensions statistics.- Returns:
- suspensions statistics
-
getThrowins
public HomeAway<Integer> getThrowins()
Throw-in statistics.- Returns:
- throw-in statistics
-
getTournament
public IdNameTuple getTournament()
Sport tournament.- Returns:
- sport tournament
-
getWeatherConditions
public WeatherConditions getWeatherConditions()
Weather conditions.- Returns:
- weather conditions
-
getYellowCards
public HomeAway<Integer> getYellowCards()
Yellow cards statistics.- Returns:
- number of yellow cards
-
isTieBreak
public Boolean isTieBreak()
Whether the match is currently in tie break status (tennis).- Returns:
- flag is match is currently in tie break status
-
getGold
public GoldEntity getGold()
-
getNetWorth
public NetWorthEntity getNetWorth()
Returns anNetWorthEntity
describing the associated event net-worth- Returns:
- - an
NetWorthEntity
describing the associated event net-worth
-
getJerseys
public List<JerseyEntity> getJerseys()
Returns a list of known jerseys- Returns:
- a
List
of known jerseys
-
getGoals
public GoalsEntity getGoals()
Returns the goals entity- Returns:
- the goals entity
-
getBehinds
public BehindsEntity getBehinds()
Returns the behinds entity- Returns:
- the behinds entity
-
getMatchProperties
public List<MatchPropertyEntity> getMatchProperties()
Returns the list of match properties- Returns:
- the list of match properties
-
getMatchTeams
public List<MatchTeamEntity> getMatchTeams()
Returns the list of match teams- Returns:
- the list of match teams
-
getTryCounts
public Map<ScoutMatchStatus,HomeAway<Integer>> getTryCounts()
Count the instances of try (1154) event per match phase. Used in Rugby. Possible match phases: period1, period2, overtime1, overtime2, overtime, penalties, sudden death, current.- Returns:
- map of try counts
-
getSubteams
public List<SubteamEntity> getSubteams()
Returns the subteam.- Returns:
SubteamEntity
-
-